• Resolved cvc1968

    (@cvc1968)


    I have a situation in which I have to show ‘draft’ posts to editors on the front-end. I used a pre_get_posts filter to include ‘draft’ in my loop. However, when I use the MDTF filters, all the results are just ‘published’ posts.

    Is there a way to allow ‘any’ post_status in search results?

    Thank you.

Viewing 1 replies (of 1 total)
  • Hello

    There is no quick solution. You need to customize the plugin code.

    Do a search for the word “publish” throughout the plugin folder (many code editors can do this). And delete this line from the array of arguments. You need minimal experience in PHP development

Viewing 1 replies (of 1 total)
  • The topic ‘Show ‘draft’ posts’ is closed to new replies.