Shortcode Builder

Displaying Filters
Updated Nov 7, 20262 min read

You do not need to learn shortcode options by heart. The builder inside the plugin writes the shortcode for you: click a value to change it, add what you need, and copy the finished line.

Find the builder

Go to Product Filters and look for the box called Shortcodes for Displaying Filters. It has three lines, one for each shortcode.

Shortcodes for Displaying Filters box with the product filter shortcode builder

Build the main filter shortcode

  1. Look at the first line. It starts as [plugincy_filters layout="sidebar"].
  2. Click a value, such as sidebar, to change it.
  3. Click + to add another option.
  4. Click × beside an option to remove it.
  5. Click the copy icon at the end of the line.
  6. Paste it into your page, using a Shortcode block in the WordPress editor.

What you can add

GroupOptionsWhen you need them
Display & LayoutLayout, Collapsable Filters PRO, Drawer Side PROTo change where the filters sit
Product QueryCategory, Tag, Attribute, Attribute Terms, and their operators PROOn a page that should show only some products
Theme SelectorsProduct Selector, Pagination SelectorWhen filters do not update your theme’s product list
URL & RedirectURL Filter Mode PRO, Redirect When Products Missing PRO, Redirect To PROWhen the filter sits on a page with no products, such as your homepage

The builder also offers Mobile Responsive and Products Per Page. Options marked PRO show a Pro badge in the free plugin.

The other two lines

  • Single filter: click the attribute name and search for the one you want. This gives you a [plugincy_filters_single name="..."] line.
  • Selected filters: this line has no options. Copy [plugincy_filters_selected] as it is.

Two ready examples

A sale landing page with a top bar, showing only one category:

[plugincy_filters layout="top_view" category="shoes"]

A page with 12 products per page:

[plugincy_filters per_page="12"]

Our guide to using shortcodes explains each option in more detail.