WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Query Multiple Taxonomies] Not to show drafts

[Plugin: Query Multiple Taxonomies] Not to show drafts

  • Hi there,

    now the taxonomies in widget are shown only if any post was created in that taxonomy, this prevents situation when visitor clicks on taxonomy and gets “nothing found”. But if there is a draft post made in this taxonomy it’s shown in the widget. Thus when user clicks its says that “nothing found”.
    How to make so that the taxonomy is shown in widget only if the post in it is published?

    Thanks!

Viewing 1 replies (of 1 total)
  • I believe something like $post_status should be used.
    But I’m not sure where to modify it? or is there a possibility to do it without hacking the code of plugin?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Query Multiple Taxonomies] Not to show drafts’ is closed to new replies.