Codeventure Infotech Store

How LoopSort works with pagination, filters and caching

LoopSort sorts on the server, so every page of a Loop Grid keeps the same order and cached pages already contain the sorted grid. Here is how it behaves with Elementor’s pagination, Load more, the Taxonomy Filter and page caches.

FeatureBehaviour
Numbered pagination, Previous/NextEvery page uses the same order. With the Sort Control, page links keep the visitor’s choice.
Load more, infinite scrollEach batch continues in the same order with no duplicates.
Taxonomy Filter widgetFiltering by category keeps the LoopSort order and the visitor’s choice.
Elementor “Query ID”Your own elementor/query/{id} code still runs after LoopSort.
Page caching (WP Rocket, LiteSpeed, Cloudflare…)Cached pages contain the sorted grid. Visitor choices are in the URL (?loopsort=), so each choice is its own cache entry. If your cache ignores query strings, add loopsort and loopsort_device to its “cache query strings” list.
Elementor element cacheLeave the Loop Grid’s Advanced → Cache on Default or No. “Yes” stores the grid’s HTML, so the visitor sort can’t apply.
Display Conditions / visibility rulesGrids hidden by Elementor Pro Display Conditions stay hidden when LoopSort re-renders them. Rules LoopSort can’t check outside the page (e.g. JetEngine Dynamic Visibility) make the Sort Control fall back to a normal page reload.

Tip: On big sites, sorting by a custom field makes the database sort every matching post. With thousands of posts, a combined database index on wp_postmeta (post_id, meta_key) roughly halves the time; ask your host or use a database-index plugin. LoopSort never changes your database tables.

Yogesh Popat, developer of LoopSort and founder of Codeventure Infotech Available for new projects

Like what you see? Work with the developer

Hire Yogesh Popat for your website

I’m Yogesh, the developer behind LoopSort and the founder of Codeventure Infotech. When you hire me, you talk to me directly and I work on your project myself: no account managers, no hand-offs, no surprises.

  • Talk directly to me from the first call to launch
  • WordPress, WooCommerce & Elementor websites, built to load fast
  • Custom plugins & features, like the ones in this store

Privacy preferences

Choose which cookies we may use. You can change your choice at any time using “Cookie settings” in the footer. See our Privacy Policy for details.

Strictly necessary

Remember your privacy choice (cv_consent, 6 months) and keep unsent form drafts in your browser. These are required for the site to work and can’t be switched off.

Always on

Google Analytics (_ga, _ga_*, up to 2 years) helps us count visits and see which pages are useful. Data is aggregated and is not used for advertising.

Sale or sharing of personal information

We do not sell your personal information or share it for cross-context behavioural advertising (CCPA/CPRA). We also honour Global Privacy Control signals.

Never