Skip to content
Sign in

Grid Avoid Doublets

Prevents the same post from showing up twice when several Grid boxes list posts on one page.

Not scanned yet WordPress plugin 10 installs

Install in

No install steps yet

Follow the steps on the source page.

Pages built with the Grid plugin often contain several boxes that list recent posts. Without coordination, the same post can appear in more than one of these boxes. This plugin keeps track of the posts that have already been placed while a grid renders and removes them from the queries of the post list boxes that follow.

Themes and custom grid boxes can use the same API to register and check their own posts:

  • grid_avoid_doublets_add( $post_id, $area_id ) marks a post as placed.
  • grid_avoid_doublets_is_placed( $post_id, $area_id ) checks whether a post has already been placed.
  • grid_avoid_doublets_get_placed( $area_id ) returns the IDs of all placed posts.

Written by Joobi from the project's own listing. See the source page

editorextensiongridlandingpagepage
23 Nov 2026
Version 2.0.0 released. Not scanned yet.

2.0.0

⚠ BREAKING CHANGES
* requires PHP 8.0 or newer

Features
* declare Grid as a required plugin (bebc147)
* declare Grid as a required plugin (baaf624)
* drop support for PHP 7 (9719883)

Bug Fixes
* prevent plugin file from being called directly (f2b4a90)

1.1.2

  • use grid hook for modifying posts list box query args

1.1.1

  • Not avoiding doublets fix

1.1

  • Compatible to Grid Update 1.6.12

1.0

  • first release
12 Sep 2016Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)