WordPress.org

Support

Support » Plugins and Hacks » Query Multiple Taxonomies » [Resolved] [Plugin: Query Multiple Taxonomies] Reset – takes me back to the home page

[Resolved] [Plugin: Query Multiple Taxonomies] Reset – takes me back to the home page

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m thinking that there has to be a way to edit the {{reset-url}} placeholder, I just haven’t found it yet.

    Here’s how:

    https://github.com/scribu/wp-query-multiple-taxonomies/wiki/Changing-URLs

    If you want to send users to a specific URL when they press the Reset button, you can do it using the 'qmt_reset_url' filter:
    (ADDED TO THE THEME'S FUNCTIONS.PHP FILE)
    
    <?php
    function my_qmt_reset_url( $reset_url ) {
        return 'http://example.com/some-other-url/';
    }
    add_filter( 'qmt_reset_url', 'my_qmt_reset_url' );

    Just make that go to your all-posts page. (which may or may not be your homepage)

    That way, when you “RESET”, i.e. remove all filters, you’ll be seeing all posts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Query Multiple Taxonomies] Reset – takes me back to the home page’ is closed to new replies.
Skip to toolbar