🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

WordPress Content Grid Plugin Setup Guide

Updated 11 min read WordPress Plugins Integrations A–Z
On this page
  1. What you need
  2. Install and activate
  3. The grid builder
  4. Source: what to show
  5. Query: which items and in what order
  6. Layouts
  7. Designing the card
  8. Filters, search, sort and pagination
  9. Lightbox, links and videos
  10. Placing a grid on a page
  11. WooCommerce products
  12. Carousels and other layouts
  13. Archive pages
  14. Speed and caching
  15. Right-to-left languages and accessibility
  16. Advanced settings
  17. Licence
  18. Frequently asked questions

The GravityExtra Content Grid plugin shows your WordPress content as a grid you design yourself: blog posts, pages, any custom post type, WooCommerce products or images from the media library, in a grid, masonry, justified, carousel or list layout. You build each grid once in a visual builder with a live preview, save it, and place it on any page with the Content Grid block, a shortcode or the Elementor widget. Visitors can filter, search, sort and page through the grid without a page reload, and open images and videos in a lightbox. This guide covers installing the plugin, every tab of the builder, the layouts, the card editor, visitor navigation, placing a grid, WooCommerce products, archive pages, performance, right-to-left sites, licensing and the most common questions. The plugin works on its own: no Gravity Forms needed.

What you need

You need WordPress 6.5 or newer and PHP 7.4 or newer. WooCommerce is optional: when it is active, products become a content source and the card gains price, rating, sale badge and add-to-cart elements. Elementor is optional too: when it is active, a Content Grid widget appears in the Elementor panel. The plugin works with block themes and classic themes, adds no database tables and loads nothing from another site. Its stylesheet and scripts are part of the plugin and are only loaded on pages that show a grid, and the front end does not need jQuery.

Install and activate

  • Upload the plugin zip in Plugins → Add New → Upload Plugin and activate it.
  • A new Content Grids menu appears in the WordPress admin. Open Content Grids → License, enter your GravityExtra licence key and press Activate License.
  • Open Content Grids → Add new grid to build your first grid.

You can build and preview grids before the licence is active. Visitors see your grids as soon as the licence key is active; until then a grid shows nothing to visitors and a short reminder to logged-in administrators, and every grid you saved stays as it is.

The grid builder

The builder has a bar at the top with the grid name, the shortcode of the grid once it is saved and the Save grid button. Below it, the settings sit in tabs on the left and the live preview on the right. Every change you make redraws the preview within half a second, using your real content, so you see exactly what visitors will see. Buttons above the preview switch between desktop, tablet and phone widths, so you can check the column count for each screen size without leaving the builder.

The Content Grid builder in the WordPress admin: a bar with the grid name and Save grid button, settings tabs on the left with the Card tab open showing a card template menu, the list of draggable card elements with their position menus and the card style settings, and on the right a live preview of a three-column masonry grid of trail stories with filter buttons
The grid builder: settings in tabs on the left, the live preview of the masonry grid on the right.

Grids are listed in Content Grids → All grids with their source, layout, column counts and shortcode. From there you can edit, duplicate or delete a grid.

Source: what to show

On the Source tab you choose the content. Choose content below lets you tick one or more post types: posts, pages, any public custom post type registered by your theme or another plugin, Products when WooCommerce is active, and Media library. With the media library you also choose images, videos or both. Current archive mode is different: the grid shows whatever the visitor is browsing, such as a category, a tag, a custom taxonomy term, an author, a date archive, the search results or the shop page. Use it in an archive or search template to replace the theme’s post list with your own grid.

Query: which items and in what order

The Query tab narrows and orders the items.

  • Items per page sets how many cards load at once; Item limit stops the grid after a total number of items; Skip the first items starts the grid further down the list, for example to leave out the posts a hero section already shows.
  • Order by: date, last modified, title, menu order, comment count, random, the order of the ids you include, a custom field (as text or as a number), and with WooCommerce also price, sales and rating. Direction is ascending or descending.
  • Taxonomy rules: pick a taxonomy, tick terms and choose is any of, is none of or is all of. Add several rules and choose whether all or any of them must match. Child terms are included.
  • Custom field rules: a field key, a comparison (equals, not equals, greater or less than, contains, exists, not exists, in a list, between) and a value with its type (text, number, decimal, date, date and time). Fields whose key starts with an underscore are hidden fields and cannot be used, except the public product fields such as the price and the SKU.
  • Include and exclude: lists of ids, authors, and a switch that leaves out the post being viewed, so a “more stories” grid under an article never shows the article itself. With WooCommerce you can also show only products in stock, featured products or products on sale. Products hidden from the catalogue never show.

Layouts

On the Layout tab you pick one of five layouts and set the columns and the gap separately for desktop, tablet (screens up to 1024 pixels wide) and phone (up to 640 pixels).

  • Grid: equal columns and rows. Choose the image ratio (original, square, 4:3, 3:2, 16:9 or portrait) so every card lines up.
  • Masonry: equal columns, each card keeps the natural height of its image and goes into the shortest column, like a pinboard. Ideal for portfolios and mixed portrait and landscape photos.
  • Justified: rows of images that fill the full width at about the row height you set, each image keeping its own shape. Ideal for photo galleries from the media library.
  • Carousel: one row that slides, with arrows, dots, looping and optional autoplay that pauses while the visitor hovers or uses the keyboard.
  • List: one card per row with the image beside the text, which stacks on phones. Ideal for news lists, events and resource libraries.

Without JavaScript, or while the page is still loading, every layout shows as a plain grid, so the content is always readable.

Designing the card

The Card tab has three parts. Card template starts you from a ready design: classic card, image with overlay, minimal, product card, portfolio with a hover reveal or list row. Applying a template replaces the element list, so pick it first and fine-tune afterwards.

Card elements is the visual element editor. Each element is a row you can drag to a new place or move with the arrow buttons. For each element you choose whether it sits in the card body or over the image, its size and its own settings. The elements are image, title, excerpt (with a word count), date (with an optional format), author, comment count, terms (with the taxonomy, how many and whether they link to their archive), button (with its label and an optional link taken from a custom field), custom field (with a label), and with WooCommerce price, add to cart, star rating and sale badge.

Card style sets the hover effect (zoom the image, lift the card, fade the image, slide the overlay up, or show colour on hover over a black and white image), when the overlay shows, the card background, text and accent colours, the overlay colour, the corner radius, the padding, the text alignment, a shadow, a border and the image size WordPress serves.

Filters, search, sort and pagination

The Filters & paging tab adds visitor navigation above and below the grid. Each part is optional.

  • Filter: buttons or a dropdown with the terms of one taxonomy, such as categories, tags, product categories or your own taxonomy. Choose the label of the “all” button, allow several terms at once, show item counts and limit the filter to the terms you tick.
  • Search: a search box that updates the grid as the visitor types.
  • Sort: a menu with the sort choices you tick: newest, oldest, title A to Z or Z to A, recently updated, most comments, and with WooCommerce price low to high or high to low, best selling and top rated.
  • Pagination: none, numbered pages, a Load more button (with your own label) or infinite scroll, which loads the next page when the visitor reaches the end of the grid.
A three-column masonry grid of trail stories on a website: filter buttons All stories, Hiking, Camping, Climbing and Travel above, a search box and a sort menu on the right, cards with landscape and portrait photos of different heights, category labels, titles, excerpts, dates and Read more buttons, and a Load more button below
A masonry grid of posts with category filter buttons, a search box, a sort menu and the Load more button.

Filters, search, sort and pages work together and load by AJAX, without a page reload. Numbered pages are also real links, so search engines and visitors without JavaScript can reach every page. A screen reader announces how many items are shown after each change, and every control can be used with the keyboard.

On the Lightbox & links tab you choose what a click on the card image does: open the post, open the image or video in the lightbox, or nothing. The lightbox shows the full-size image or plays the video, with the title as caption, previous and next buttons for the other items of the grid, the arrow keys and Escape. Videos come from the Grid video box on each post (a YouTube, Vimeo or video file link), from a video in the media library, or from the first YouTube, Vimeo or video file link in the post content. Cards with a video show a play badge. YouTube videos open in its privacy-enhanced mode and Vimeo videos with tracking turned off. You can also open every link in a new tab.

Placing a grid on a page

  • Block editor: add the Content Grid block, pick a grid and the editor shows a preview. The block supports wide and full width alignment.
  • Shortcode: copy the shortcode from the grid list or the builder bar, for example [gravityextra_content_grid id="12"], and paste it into a Shortcode block, a classic editor, a widget or a theme template. Add class="my-class" for your own styling.
  • Elementor: drag the Content Grid widget onto the page and pick the grid in its settings. The grid works in the Elementor preview and on the published page.

One grid can appear on many pages; changing it in the builder changes it everywhere.

WooCommerce products

With WooCommerce active, tick Products on the Source tab and start from the Product card template: image, sale badge, title, star rating, price and add to cart. The price shows sale and regular prices exactly as your store does, including tax display and currency. The add-to-cart button adds simple products to the cart by AJAX, like the shop page, and other product types link to the product. Sort and filter by product category, price, sales or rating, and limit the grid to products in stock, featured products or products on sale.

A four-column WooCommerce product grid: filter buttons for Tents, Packs and Lights, a sort menu, square product photos, red Sale badges on three products, centred titles, sale and regular prices and blue Add to cart buttons
A product grid with category filter buttons, a price sort menu, sale badges, prices and add-to-cart buttons.

Carousels and other layouts

A carousel shows one page of items, so set the number of slides with Items per page on the Query tab and the number visible at once with the columns. Dots show how many screens there are, and the arrows loop back to the start when looping is on.

A two-column carousel of volunteer projects: cards with a photo, a project type label, the title and a short excerpt, with round previous and next arrows and dots below
A carousel of a custom post type with terms, titles and excerpts, the arrows and the dots below.

Archive pages

Choose Current archive on the Source tab and place the grid in your archive or search template (in a block theme, edit the Archive or Search template in the site editor and add the Content Grid block). The grid then shows the posts of the category, tag, term, author, date or search the visitor is on, with your card design, layout and navigation. Load more and the other AJAX controls stay inside that archive: the request carries a signed token that only the server can create, so it cannot be changed to show other content.

Speed and caching

The first page of a grid is part of the page HTML, so it shows at once and search engines can read it. The plugin caches the list of items of each query for the time you set on the Advanced tab (one hour by default). Only the list of items is cached, never the card HTML, so prices, stock, sale badges and cart buttons are always current. The cache clears itself whenever a post, product, image or term changes, and random order is never cached. After a large import you can clear it by hand with Clear grid cache on the grid list. Images below the first row load lazily, and images use the responsive sizes WordPress creates, so phones download small files.

Right-to-left languages and accessibility

On right-to-left sites the whole grid mirrors: masonry starts on the right, the carousel slides the other way, arrows and pagination point the right way and the text aligns to the start of the line. Filter buttons tell screen readers which one is pressed, the status of each AJAX load is announced, cards are a list of items, the carousel can be moved with the arrow keys, the lightbox traps the keyboard focus and returns it to the card when it closes, and animations are switched off for visitors who ask their device for reduced motion.

Advanced settings

The Advanced tab sets the cache, the HTML tag of the card title (a heading level that fits your page structure), the text shown when nothing matches, extra CSS classes for your own styling and lazy loading.

Licence

A valid licence key shows your grids to visitors and gives you updates. Without an active licence you can still open the builder, create and edit grids and preview them; visitors see nothing in place of a grid and logged-in administrators see a reminder with a link to the licence page. Expired licences get no new versions; renew the licence and updates and grids come back at once.

Frequently asked questions

Does it need Gravity Forms or a page builder? No. The plugin works on its own with any theme. The block, the shortcode and the Elementor widget are three ways to place the same grid.

Can I show a custom post type from another plugin? Yes. Every public post type appears on the Source tab, with its taxonomies for the rules, the filter and the terms element.

Can visitors see private or draft content? No. Grids show published content only (and the media library’s published attachments), password-protected posts are left out, and the AJAX requests can only load the grids you saved.

Why does my grid show nothing? Check that the licence is active, that the content matches the rules on the Query tab, and the text you set for an empty grid on the Advanced tab. Logged-in administrators see a note when a grid was deleted or the licence is not active.

What happens when I uninstall the plugin? The licence data, the cache and the plugin options are removed. Your saved grids are kept unless you choose otherwise, so reinstalling brings them back.

Need help? Open a support ticket and tell us what you are building.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr