WordPress.org

Ready to get started?Download WordPress

Forums

Query Multiple Taxonomies
[resolved] [Plugin: Taxonomy Drill-Down] Direct "Reset" to a specific landing page (4 posts)

  1. lucydog
    Member
    Posted 3 years ago #

    I have read all the posts about customizing the "reset" function but I am a little lost.

    Right now clicking RESET goes to the home page.

    Is there a way to direct RESET to a specific landing page for my categories?

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

  2. Sevenwords
    Member
    Posted 3 years ago #

    You can add the following to your functions.php file:

    function my_qmt_reset_url() {
        return 'http://url/category';
    }
    add_filter( 'qmt_reset_url', 'my_qmt_reset_url' );
  3. lucydog
    Member
    Posted 3 years ago #

    Thanks - that works!

  4. mark7694
    Member
    Posted 3 years ago #

    I've used the above for the "Reset" function and it works fine. However, if someone makes a search without choosing any criteria it redirects back to the homepage. I'd rather it default to the same screen as if the user had chosen something with no results. Is there anyway to do this?
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic