Support » Fixing WordPress » query_posts by custom post type and taxonomy in a dropdown

  • Sorry if this is in the wrong section – first post on here!

    I have been trying for some time to figure out how to query a custom post type for a specific custom taxonomy via a drop down menu (mobile review, mobile make/model).

    I have tried to implement various solutions, so far I’ve managed to display my custom taxonomy type in a drop down but the query displays all types of posts for the selected taxonomy. There is also no hierarchy shown in the drop down (i.e. the indentation you see in wp_dropdown), taxonomy types are simply listed with no differentiation between parents and child taxonomy (e.g. mobile make: HTC, mobile type: Desire).

    Achieving the above using wp-query and outputting as a list seems to work fine but I seem to need a function to build the drop down.

    Any help would be much appreciated.


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘query_posts by custom post type and taxonomy in a dropdown’ is closed to new replies.