Filter Posts by Primary Tag or Section

Anne Burns
Thu, 26 Mar 2020 15:35:30 +0000
Google algorithm updates, Google crawler, Cms, Google index, Site design, Page views, Sections, Amp cms, Layout & design tool, Search strategy, Google marketing platform updates, Goole updates, Site structure, Social cms, Search strategy tips, Best cms, Google algorithm, Google tips, Seo, Best cms 2020, Search engine optimization

It's now possible to filter the Posts element in our Layout & Design tool by primary tags and primary sections. For now, this is only possible via XML attributes on the Posts element.

Below are the new attributes that allow you to filter by primary tags or sections, and how to use them.

Filtering by Primary Section

Examples:

Attributes:

from_primary_sections_of_current_post

Allows you to include posts by the primary section of the current post

Can be true or false

from_primary_sections_of_current_post_other_than

Allows you to include posts by the primary section of the current post, other than the specified ones

Can be a comma separated list of section slugs

Can be a skeleton expression

from_primary_sections

Allows you to include posts by specific primary sections

Can be a comma separated list of section slugs

Can be a skeleton expression

from_primary_sections_other_than

Allows you to exclude posts by specific primary sections

Can be a comma separated list of section slugs

Can be a skeleton expression

Filtering by Primary Tag

Examples:

Attributes:

from_primary_tags_of_current_post

Allows you to include posts by the primary tag of the current post

Can be true or false

from_primary_tags

Allows you to include posts by specific primary tags

Can be a comma separated list of tags

Can be a skeleton expression

from_primary_tags_other_than

Allows you to exclude posts by specific primary tags

Can be a comma separated list of tags

Can be a skeleton expression

The full documentation on our API for Posts element filtering can be found here. If you have any questions, feel free to reach out to your account manager or our Support team at support@rebelmouse.com.