The Grid Plugin options

Hello! I am using the grid plugin to load, filter and search a custom post type. Now the issue I’m having is when I try to filter or search for the items that are not loaded yet (either ajax load more or pagination) nothing comes up. But when I click load more or go to the page where that element exists then its indexed by the filter and search.

I have now set the number of items in the grid to -1 which means that all items will be display. But I worry about page load time when there is a couple of hundred entries in the CPT. Is there a way to lazy load, or add some js code to made the items load one after another and not all at once. And if yes could you provide me the code.

Summary

https://gbc-slovenia.si/mediji/

The password to enter the page is in the secure note

Regards, Luka

Hey Luka,

Regretfully, The Grid’s filter even the filter of the similar plugin, the Essential Grid aren’t true filters. What I mean by that is that they only filter what has been loaded in the page so even if you enable lazy loading, the filter won’t show all your post.

What you need for this case is a real filter. One that will load or get your post from the database or by other means. You can try a plugin like FacetWP.

Thanks.

Hi! Thank you for your reply but we are looking for a cheaper solution.
Is there a way to manipulate the default wp search query to display posts only from a specific custom post type and specific categories and also manipulate them to be displayed in a grid.

Possibly with an option of ajax loading.

Regards, Luka

Hey Luka,

I’m sorry but there’s no option available for that. Custom development is required which is outside the scope of our support.

Thank you for understanding.

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