Related Posts Block

Description

The Related Posts block is quite similar to a Query Block (and even requires a child Query Block to function), so the description starts out the same: it’s an advanced block set that loops WordPress posts into a display based on different query parameters and visual configurations. The popular application is to automatically display content of a like type – the most popular use is blogs, case studies or projects, services, locations, or products.

Where a Related Posts Block differs from a Query block is that it inherits the taxonomies of the post in which it lives (categories, subcategories, and/or tags). This means less manual configuration for you – if you put it on a blog post, it will automatically display other blog posts under the same category and/or tag. You can adjust this slightly in the settings.

Settings

A Related Posts Block must include a child Query Block to function, so can visit that documentation to see the settings. These settings are for the parent Related Posts Block only.

Post Limit

Choose how many posts should be shown in the Related Posts Block to suit your design.

Filters

If your content has multiple taxonomies, you can choose to have the block match only one type. If not used, the block will match all taxonomies possible.

Advanced

HTML Element

This allows you to change the HTML element that Query Block is in.

HTML Anchor

This field allows you to create a unique web address for the block, allowing you to link to this specific section of the page.

Additional CSS Class(es)

This allows you to enter a unique Class identifier, for custom CSS targeting within the theme to faciliate custom development. More about Theme Customizations.

It also enables the use of Foundry utility classes. More about Utility Classes.