Create a "settings" page that will list posts with a custom field that is true

Support MB Settings Page Create a "settings" page that will list posts with a custom field that is trueResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42743
    Johnny VuJohnny Vu
    Participant

    Hello,

    I have a checkbox on my posts that is titled "Show popup". If active it will show a popup on the current page/post the user is on.

    Is it possible to create a settings page that will list all pages/posts on the website that has this checkbox active? Or even list all posts/page and a section that shows if the setting is active or not?

    Thank you

    #42744
    PeterPeter
    Moderator

    Hello,

    Yes, it is possible. You can create a custom query to list all posts based on the meta value and show them on the settings page. Read more about the custom query in this topic https://wordpress.stackexchange.com/questions/144078/get-posts-by-meta-value

    #42750
    Johnny VuJohnny Vu
    Participant

    Thank you for your response, I'll give that a try

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.