Forums

Query Multiple Taxonomies
Can hide_empty be used to display all terms even if they are emt (2 posts)

  1. Jacorre
    Member
    Posted 5 months ago #

    By default it appears that the plugin does not display taxonomies that have no posts associated to them.

    I was wondering if I can display all taxonomies whether they have posts or not? I tried using hide_empty => false in the my_qmt_base_url additional args but it didn't work.

    Also, I can see that the blank entry at the top of the drop down means all but can you actually display the word All instead of it being blank? I tried adding All into the dropdown.html template but it makes it look for the taxonomy of All.

    http://wordpress.org/extend/plugins/query-multiple-taxonomies/

  2. emeraldryan
    Member
    Posted 5 months ago #

    I also need ALL existing taxonomy terms to appear (regardless of whether they are used in any published posts) in the lists/dropdowns. My client wants all options to appear and if no results appear then a standard message to be displayed.

    I don't think it can be done via the functions.php file as hide_empty applies to the querying of taxonomies/terms which is done by the plugin.

    From an earlier thread (http://wordpress.org/support/topic/plugin-query-multiple-taxonomies-how-to-disable-blank-taxonomies-trill-down) I think that this used to be the default behaviour of the plugin but was changed in version 1.2.

    If anyone knows of a solution I would be most grateful.

Reply

You must log in to post.

About this Plugin

About this Topic