1. Home
  2. Knowledge Base
  3. Functions
  4. Using placeholders for displaying products dynamically

Using placeholders for displaying products dynamically

The plugin comes a long with a few placeholders which can be used in order to dynamically display products based on certain parts of your context.

For instance if you want create a list of bestselling products, based on the title of your post, the shortcode looks as follows:

Overview of all available placeholders

PlaceholderDescription
%post_title%Title of the current post
%page_title%Title of the current page
%post_category%Name of the main category of the current post
%yoast_focus_keyword%Only available when using Yoast SEO.
Right now placeholders can only be used in combination with the bestseller shortcode.
Was this article helpful?

Related Articles

WordPress Cookie Notice by Real Cookie Banner