Title: Reset Button doesn&#8217;t work
Last modified: May 27, 2024

---

# Reset Button doesn’t work

 *  Resolved [Krissieg](https://wordpress.org/support/users/krissieg/)
 * (@krissieg)
 * [2 years ago](https://wordpress.org/support/topic/reset-button-doesnt-work-2/)
 * Hi there, I’m finding your reset filter button pretty useless as it doesn’t reset
   the amount pf listings back to the original number, but stays at the amount found
   in the last search. This is very confusing for people. Would you be able to make
   the reset button actually work and not just simply clear the settings within 
   the filter area?
 * How do I keep the filter area open on the search page?
 * On single listings, is there a way to make the ‘go back’ link go to the search
   page and not just go back to the page before?
 * Thanks
    -  This topic was modified 2 years ago by [Krissieg](https://wordpress.org/support/users/krissieg/).
    -  This topic was modified 2 years ago by [Krissieg](https://wordpress.org/support/users/krissieg/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freset-button-doesnt-work-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Mahfuzul Alam](https://wordpress.org/support/users/mahfuz87/)
 * (@mahfuz87)
 * [2 years ago](https://wordpress.org/support/topic/reset-button-doesnt-work-2/#post-17785914)
    - How do I keep the filter area open on the search page?
 * Please use the following code at the end of your **functions.php** file of the
   correctly activated Child theme.
   If you do not have any child theme installed,
   please install one.You can also use the [Code Snippet](https://wordpress.org/plugins/code-snippets/)
   plugin to implement this code.
 *     ```wp-block-code
       add_action( 'wp_footer', function(){
           ?>
           <script type="text/javascript">
               jQuery( document ).ready( function( $ ){
                   $( '.directorist-filter-btn' ).trigger('click');
               } );
           </script>
           <?php
       } );
       ```
   
 *  Plugin Support [Mahfuzul Alam](https://wordpress.org/support/users/mahfuz87/)
 * (@mahfuz87)
 * [2 years ago](https://wordpress.org/support/topic/reset-button-doesnt-work-2/#post-17785940)
    - On single listings, is there a way to make the ‘go back’ link go to the search
      page and not just go back to the page before?
 * Hi, It is possible to override the link of the button by overriding the code 
   in the template file. Please follow the documentation to learn and understand
   the process of overriding the template file.
 * [Template Override (directorist.com)](https://directorist.com/documentation/directorist/developers-guide/template-override/)
 * You need to override the following template file – wp-content/plugins/directorist/
   templates/single/top-actions.php
 * Please contact our support channel if you want more help with this customization–
   [https://prnt.sc/cKSW-z2RTXrs](https://prnt.sc/cKSW-z2RTXrs)
 *  Plugin Support [Mahfuzul Alam](https://wordpress.org/support/users/mahfuz87/)
 * (@mahfuz87)
 * [2 years ago](https://wordpress.org/support/topic/reset-button-doesnt-work-2/#post-17785961)
    - I’m finding your reset filter button pretty useless as it doesn’t reset the
      amount pf listings back to the original number, but stays at the amount found
      in the last search. This is very confusing for people. Would you be able to
      make the reset button actually work and not just simply clear the settings
      within the filter area?
 * Hi [@krissieg](https://wordpress.org/support/users/krissieg/), Thank you for 
   your concern. We will work on this feature in our future updates.
 * Regards
 *  Thread Starter [Krissieg](https://wordpress.org/support/users/krissieg/)
 * (@krissieg)
 * [2 years ago](https://wordpress.org/support/topic/reset-button-doesnt-work-2/#post-17803281)
 * Hey Mahfuzul, Thanks for your response on the matters above.
    1. Reset filter button – when do you think this will be sorted? Can you give me
       a timeline so I can tell my client?
    2. Go back link – okay, thanks for this. I used a similar process to try and customise
       the reset button but it didn’t work.
    3. The code doesn’t seem to work to keep the search / filter section open. I’ve
       tried adding the code in the child theme functions and as a code snippet but
       it doesn’t work. 🙁

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Reset Button doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/directorist/assets/icon-256x256.gif?rev=3185058)
 * [Directorist: AI-Powered Business Directory, Listings & Classified Ads](https://wordpress.org/plugins/directorist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/directorist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/directorist/)
 * [Active Topics](https://wordpress.org/support/plugin/directorist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/directorist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/directorist/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Krissieg](https://wordpress.org/support/users/krissieg/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/reset-button-doesnt-work-2/#post-17803281)
 * Status: resolved