• Resolved raptor_00

    (@raptor_00)


    I have created other fields within the search engine, but selecting a category resets the other fields. How can i fix this?

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

Viewing 1 replies (of 1 total)
  • Hi @raptor_00,

    This is a known issue and is expected to be fixed with the release of the next version of Directorist. In the meantime you can use this snippet to temporarily fix this, just copy-paste this on your theme’s functions.php:

    add_action("wp_footer", function(){ ?>
    		<script type="text/javascript">
    			jQuery(document).ready(function($){
    			    $('.directorist-archive-contents .directorist-search-form-box .directorist-select select').removeClass('directorist-category-select');
    			});
    		</script>
    	<?php });

    Regards,
    Mahdi.

    • This reply was modified 2 years, 8 months ago by Mahdi.
Viewing 1 replies (of 1 total)
  • The topic ‘Category field resets the other fields’ is closed to new replies.