最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

php - Using previous_post_link next_post_link but with a filter on a custom field

programmeradmin2浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论