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

slug - Memberpress custom fields - filtering content

programmeradmin1浏览0评论

I'm working with MemberPress for a subscription site. The client requires an options within every plan to give the option to filter the content within their subscription based on a checkbox within their user account. This has the slug mepr_automotive.

  1. How can I check the value of that slug from within a template?
  2. If the value is true how can I filter the pages using wp_list_pages based on the fact that I'll be using a Advanced Custom Field checkbox within posts and pages to declare the post is useful for automotive users?

Thank you in advance.

发布评论

评论列表(0)

  1. 暂无评论