Forums › Forums › Search & Filter Pro › FILTER AND AJAX NOT WORK
- This topic has 16 replies, 3 voices, and was last updated 6 years, 1 month ago by
Trevor.
-
Anonymous(Private) February 27, 2020 at 8:40 pm #235148
I was using the free version of the plugin and now I have the PRO. I already removed the free version, and created a new form for a custom post type and its taxonomies. I followed the documentation to use using a shortcode, but it doesn’t work, neither the filter nor the ajax.
I’m already using the two shortcodes of form and results in my file, and I created the search-filter folder in my theme with the results.php file inside. Could you help me solve it please?Trevor(Private) March 2, 2020 at 1:23 pm #235315Ah, my bad, I did not see the revised logins, sorry.
I can see the problem. Our javascript file is not being loaded. This might be a problem with the theme, as I see that the template (you gave me this, thank you) for the page is correctly calling the wp_footer function.
So, this means you must load (enqueue) the file manually, from the child theme functions.php file.
The URL looks like this:
.../wp-content/plugins/search-filter-pro/public/assets/js/search-filter-build.min.jsYou would need to add this as an enqueued file.
-
AuthorPosts