admin管理员组

文章数量:1026989

I have a wordpress site in which I have setup a custom field show_post of type True / False.

Lets me control showing of posts of course.

But I can't figure out in php when using previous_post_link and next_post_link, to only showing posts that have the custom field show_post set as true.

Any ideas would be welcome especially if I am missing something simple.

I have a wordpress site in which I have setup a custom field show_post of type True / False.

Lets me control showing of posts of course.

But I can't figure out in php when using previous_post_link and next_post_link, to only showing posts that have the custom field show_post set as true.

Any ideas would be welcome especially if I am missing something simple.

本文标签: phpUsing previouspostlink nextpostlink but with a filter on a custom field