Keyword Search
-
Hi, it seems from reading the documentation that this isn’t an option, but I wanted to check. I’m looking for a keyword search solution to work with an Elementor loop grid, one that searches post title and post content. Does your plugin only work to search custom fields, or can it work to search standard post title and post content fields? Thanks!
-
Hi fulloken (@fulloken),
Yes, it is possible, but not by using the filter alone. To search within the post title and post content, you can add the BPFWE Search Bar to your page and configure it with the same post target as your filter.
For searching meta fields, you can use “Custom Field” under “Data Source” and “Input Field” under “Field Type”. When using the filter or the search bar, both searches will automatically combine into one. Let me know if this solution works for you.
Regards,
DaraThanks for the quick response. I’ll give that a try and let you know how I make out.
The Search Bar is just the widget I needed, thanks. It does what I want, except there is an issue with the Elementor Loop Grid pagination. This seems to be similar to the issue someone posted a month ago, “Problems with Loop Grid Pagination”. When using either the Search Bar or Filter widget, the pagination links direct back to the homepage. The pagination URL is missing the page slug, in this case /resources/. Without the widget, the pagination works fine.
Hi fulloken,
Thanks for the update, I’m glad to hear the search bar is working for your needs.
I have just tested the search bar together with the loop grid pagination on my side and the pagination URL are generated correctly, including the page slug. When the redirect option is enabled on the search bar, the pagination also works normally.
It is possible that something specific to the page setup or permalink structure is affecting the pagination links.
Could you please share the URL of the page where this happens so I can take a closer look? If the page is not public, a temporary preview link would also work.
Regards,
DaraThank you for your willingness to help. I tried troubleshooting some more but can’t seem to fix it. Here is the URL: https://motorleasedev.wpengine.com/resources/
Thanks!…to follow up, I’ve discovered that with your plugin disabled, and infinite scroll or load more pagination enabled, the posts in the Elementor loop repeat when scrolling or clicking load more. I’ll reach out to Elementor about this.
Sorry, one more update. It seems to be working on a new page I created – https://motorleasedev.wpengine.com/resources-loop-test/. I’m not sure what is causing the issue on https://motorleasedev.wpengine.com/resources/ but I’ll take that up with Elementor. Thanks!
Hi fulloken (@fulloken),
Thanks for the detailed follow-up and for sharing both URL.
I’ve checked this on my side, and the behavior on the resource page does not appear to be caused by the filter or search widget.
On that page, the issue seems to affect Elementor’s Loop Grid pagination itself, because even without the search widget active, the pagination is falling back to a full page reload instead of the expected AJAX behavior. What’s interesting is that your test page works correctly, which strongly suggests this is related to how the original page is built rather than the widget integration.
From what I can see, this typically happens when:
-The Loop Grid is placed inside a different template context (page vs archive structure mismatch)
-There is a conflict or inconsistency in how the Loop template is being rendered or reused
-Two pages or more share the same slug (eg: a single page named resource, and a taxonomy named resource, or an archive with this slug)I would recommend continuing the investigation directly on the template/page itself, and double check that no single page has the same slug as a taxonomy or archive.
Hope this help.
Regards,
DaraThanks for the details! Definitely not an issue with your plugin…which is great by the way.
You must be logged in to reply to this topic.