Skip to content
  • Home
  • PluginsExpand
    • WP Recipe Maker
    • WP Ultimate Post Grid
    • Easy Affiliate Links
    • Easy Image Collage
    • All-Access Pass
  • FAQ & Support
  • About Us
  • Blog
  • Your Account
Bootstrapped Ventures Knowledge Base
  • Get the Plugin
  • DocumentationExpand
    • WP Recipe Maker
    • WP Ultimate Post Grid
    • Easy Affiliate Links
    • Visual Link Preview
    • Custom Related Posts
  • Open a Support Ticket
Bootstrapped Ventures Knowledge Base

Getting Started

6
  • Installing WP Ultimate Post Grid
  • Activating your license key
  • Updating WP Ultimate Post Grid
  • Creating a Grid
  • Adding a Grid to your Website
  • Grid Template Editor

Creating a Grid

1
  • Creating a Grid
  • Grid Edit Screen
    • General
    • Data Source
    • Limit Items
    • Filters
    • Layout
    • Item
    • Pagination
    • Other
  • Grid Filters
    • Isotope Filter
    • Dropdown Filter
    • Checkboxes Filter
    • Text Search Filter
    • Clear All Filter Selections Button
    • Custom HTML
    • Dynamic Order
    • Responsive Filter Display
  • Grid Pagination
    • Divide posts in Pages
    • Use a “Load More” button
    • Infinite Scroll Load
    • Load more posts on filter

Template Editor

4
  • Grid Template Editor
  • Classes you can use in the grid template editor
  • Using conditions in the grid template
  • Using ACF or other Custom Fields

Advanced Features

8
  • Cloning a Grid
  • Limit Items Dynamically
  • Custom filter term order
  • Default Filter Selections
  • Custom Field Filters
  • Using WP Extended Search to alter the Text Search filter
  • Set Custom Links and Images
  • How to Center the Grid

WPUPG for Developers

3
  • Accessing or manipulating a grid in the front-end
  • Custom filter term order
  • Use a grid for the search or archive page

Announcements

3
  • WP Ultimate Post Grid Changelog
  • WP Ultimate Post Grid 3.0.0
  • WP Ultimate Post Grid Legacy

Debugging Plugin Issues

3
  • Debugging plugin problems
  • The downloaded plugin is not a zip archive
  • Creating a Temporary Login
View Categories
  • Home
  • Documentation
  • WP Ultimate Post Grid
  • WPUPG for Developers

Use a grid for the search or archive page

It’s possible to use a WP Ultimate Post Grid grid for the search results page or taxonomy archive page by making some slight adjustments to the theme files.

To achieve this, start out by creating a new grid through the Grids > Manage page. Make sure the Data Source > Post Types include the post type that you want to see on the search/archive page. You should not use any of the “Limit Items” options here, as that will be handled by the plugin automatically.

Once you have the grid looking the way you want, you’ll end up with a shortcode that looks something like this:

[wpupg-grid id="your-grid"]

Instead of having a regular grid you’ll want to add the takeover parameter:

[wpupg-grid id="your-grid" takeover="search"][wpupg-grid id="your-grid" takeover="archive"][wpupg-grid id="your-grid" takeover="query"]

The different takeover options

“search” should be used when putting the shortcode on a search page and will show a grid that includes ALL search results. This is not limited per page, so you probably want to combine this with a Pagination method.

“archive” should be used for taxonomy archive pages and will also include ALL term results.

“query” can be used for search, archive and any other WP_Query pages. It essentially displays the posts in the current main query as a grid. The difference with the above is that it’s limited to the current page only.

Adding the shortcode to our theme files

Once you have the shortcode, you’ll want to add it to your theme files to replace the default display method.

Where to replace things depends on the exact theme you’re using. Usually there will be a search.php file and archive.php file where you could output the grid shortcode like this:

<?php echo do_shortcode( '[wpupg-grid id="your-grid" takeover="search"]' ); ?>

Take note that you’ll also want to remove the regular loop displaying the posts, or you end up with both listed.

Updated on December 2, 2024
Custom filter term order
Table of Contents
  • The different takeover options
  • Adding the shortcode to our theme files

© 2025 Bootstrapped Ventures · BE0634.767.406
Privacy Policy

  • Bootstrapped Ventures
  • Plugins
    • WP Recipe Maker
      • Demo
      • Documentation
      • Get the Plugin
    • WP Ultimate Post Grid
    • Easy Affiliate Links
    • Easy Image Collage
    • All-Access Pass
  • FAQ & Support
    • Knowledge Base
    • Documentation
  • About Us
  • Blog
  • Your Account