WordPress.org

Support

Support » Plugins and Hacks » Restrict the query to a custom post type

Restrict the query to a custom post type

  • capiedge

    @capiedge

    Hello,
    first of all, thank you for this fantastic plugin!

    I have placed in my widget three dropdowns, for three different taxonomies of a single custom post type.

    The plugins works perfect when selecting a value for each taxonomy, but when in the three dropdowns is selected “-any-” and you click submit, it shows results for all the posts (for example the uncategorized ones, and the ones that have taxonomies not related with this custom post type)…

    Is there any way to limit the search to a custom post type? Or a way to indicate: when “- any -” is selected in the three dropdowns, and the user clicks submit, redirect to the archive page of a specific CPT, for example.

    Any ideas?
    Many thanks!

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

  • The topic ‘Restrict the query to a custom post type’ is closed to new replies.