• Resolved Krissieg

    (@krissieg)


    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.
    • This topic was modified 2 years ago by Krissieg.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Mahfuzul Alam

    (@mahfuz87)

    • 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 plugin to implement this 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

    (@mahfuz87)

    • 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)

    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

    Plugin Support Mahfuzul Alam

    (@mahfuz87)

    • 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, Thank you for your concern. We will work on this feature in our future updates.

    Regards

    Thread Starter Krissieg

    (@krissieg)

    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.