Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Elementor
This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years ago.
- AuthorPosts
- August 3, 2021 at 11:47 am #34143
We had an open ticket with you a few months back regarding an issue with elementor and Ajax
We were informed that you were aware and working on rectifying this issue
Please can I get an update
ThanksAugust 3, 2021 at 12:01 pm #34145Hi,
Can you please clarify? I recall a ticket about one month ago about an elementor related thing. Was that about resetting the search shows the items from the default search, not the initial Elementor items?
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 3, 2021 at 12:22 pm #34146If that is the case, we may have a bypass solution, until the next release is out. This is based on the actual solution, so it might be a great way of testing it:
add_action('wp_footer', 'wp_footer_elementor_fix_initial_results', 9999); function wp_footer_elementor_fix_initial_results() { ?> <script> (function($){ let initialElementorHTML = $('body').html(); wp.hooks.addFilter('asp_live_load_html', 'asp', function(html, id, inst){ if ( ASP.api(id, inst, "filtersInitial") ) { return initialElementorHTML; } return html; }, 10); })(jQuery); </script> <?php }
Try adding this code to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 4, 2021 at 12:22 pm #34166This is a screenshot from a month ago
Some Issues
-not searching in excerpt
– not searching in content
-new post disappearingAlso see attachments
August 4, 2021 at 12:43 pm #34169Your screenshot did not come through. I assume you are reffering to this thread: https://wp-dreams.com/forums/topic/search-in-content-and-search-in-post-excerpt-not-working/
That was answered a month ago.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.