Essential Grid Search Issue

Hi there, I’ve added the search function to an essential grid and it’s working fine except it only searches/displays results that have already loaded in the grid on the page. I have the page set to load 8 items at the start and then 20 more each time it reaches the end of the list. However, this grid has almost 60 items, so that means users have to scroll all the way down through the entire list first before items towards the end appear in the search.

Is it possible to have the search pull up/load grid items from the entire list of content, without having to load on the page first?

Hi There @fred42

Thanks for writing in! I could no think any in-built functionality for your specific requirement. However you can try utilizing filters in essential grid to improve user experience.

Please refer to the following resources.

Thanks!

Thanks for the prompt reply, but I’ve already read through those resources, and they don’t address the issue I’m describing. Is there no way to have results appear without loading the entire grid?

Hi There,

That needs custom development, which is out of our theme support scope.

Thanks for understanding!

No problem! Maybe you can assist with another issue now that I’ve changed the grid to load all items at the start. I have irrelevant search results appearing now that I’ve enabled the search functionality on the page. I know it searches within the page title and content, but I’ve checked that in addition to the page source for the keywords that I used and they don’t exist on those pages, yet they still come up in results. I’ve updated the secure note with more detail :slight_smile:

Hi @fred42

I suggest first doing a plugin conflict test, I suggest doing a plugin conflict test, the safest way to do that is to install “Health Check” plugin and enable “Troubleshooting mode” if everything went okay, then you can re-enable plugins one by one to figure out the culprit. The good thing about “Heath Check” plugin is that it’s developed by WordPress team and it only affects your logged in session so that other visitors won’t be affected.

If this didn’t help in narrowing down this issue, then please provide us with WordPress Dashboard login details in a “Secure Note” so we can investigate this issue.

Thanks.

I tried enabling Health Check’s Troubleshooting mode but received the following error “We were unable to copy the plugin file required to enable the Troubleshooting Mode.” I’ve added in the login details in the Secure Note for you to review.

Hi There @fred42

Upon checking, I see that you’re running PHP v5.5.9 on your server. Could you please try updating your PHP version to v5.6.x or later to avoid incompatibility issues. You may contact your hosting provider or some hosts allow to switch PHP versions through the hosting control panel.

Let us know how it goes.
Thanks!

Thanks for the advice, I’ve updated the PHP version and am still encountering the issue. Please advise :slight_smile:

Hi @fred42,

Would you mind providing a screenshot and list the items that shouldn’t be there? Are you referring to partners page? I’m not just sure which grid has this issue. The partner’s page seems to be okay.

Thanks!

I’ve updated the secured note with all the details and the affected grid.

Let me know if you need anything else :slight_smile:

Hi @fred42,

On my end, it only displays the same content over and over when I searched (any keyword), the same content when it’s first loaded. Looks like a cache to me.

Could you try disabling your caching plugins and features? It’s a bit overkill having multiple plugins with same cache feature. It could cause an issue since it could cache another cache from one another. I could do this, but I’m not sure about the AWS and related optimization.

Thanks!

Hi @fred42

Just another thought here, after checking the Essential Grid guide here:
https://www.themepunch.com/essgrid-doc/grid-item-sort-search/#search

It was mentioned that:

Important Note:
Category Filters are required when using the Search control.

So perhaps that is what you are missing in order to get the search function working as it should?

Thanks.

I tried disabling the cache plugins but that did not affect my experience/results. I was not able to replicate the error you encountered though (same results with any keyword), but it’s still pulling unrelated projects when I search “Mississauga”

Unfortunately, I’m creating the grid using Pages, not Posts, so I do not have the option of assigning categories on the page itself, nor can I modify the page element in the grid as described in the tutorial as it only allows me to edit the post meta. Please review the Portfolio grid on the back end to see what I mean.

Hi @fred42,

Ah, then that means it’s not possible. It’s the plugin limitation where search requires category filters. Maybe it doesn’t search title or content, but categories it belongs to.

I tried and yes, looks like it’s made for that purpose and for posts. And custom post type may not work as well since category is only applicable for built-in post type. Try enabling the category for page type, but I can’t guarantee if it’s going to work.

https://wordpress.org/plugins/add-category-to-pages/ (not our plugin so please it with caution)

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.