TFT Post Grid

The TFT Post Grid Plugin allows you to display a grid showing Posts on a page, with dynamic Category selection. Usage cases include:

  • Providing a configurable grid for Archive pages for any port types.
  • Providing a quick means of dynamically selecting Posts by category

The Plugin provides it’s functionality by means of a Shortcode that can be inserted in to any page. Here’s the default layout – it’s the grid I use on this site.

The shortcode basic usage is

[tft_post_grid posts_per_row="3"]

where the posts_per_row parameter sets the number of posts that are displayed in a row.

Other parameters are as follows; obviously they can be combined.

default_category – this is the category to be displayed. The default setting is to display posts from all Categories. The category slug is the parameter should be passed. For example:

[tft_post_grid posts_per_row="3" default_category="wordpress-development"]

show_filter determines whether the category selector dropdown is displayed or not. Values are true or false. The default value is true.

[tft_post_grid posts_per_row="3" show_filter="false"]

post_type determines the post type that will be displayed. The default value is ‘post’.

[tft_post_grid posts_per_row="3" post_type="portfolio"]
Scroll to Top