Filter Flex Block on custom taxonomy?

Posted in: Newspaper
Post count: 144

Hi TagDiv team! A site we are building has a custom post taxonomy called “Regions” where they are tagging each post by geographic regions. They wanted this separate from the post categories. We would like to place a Flex Block on a site’s home page, but have it filtered only for posts where the custom taxonomy, region, is “Hartford County” for example. The region slug is hartford-county.

Is there a way to filter a flex block only for posts that are have the region taxonomy equal to Hartford County?

Post count: 35449

Hello,

Yes, you should use the filters from flock block – https://forum.tagdiv.com/flex-block-settings-guide/ if that is a taxonomy just add the taxonomy id https://i.imgur.com/pyzPKr4.png also you can set the post type you’ll like to display results – https://i.imgur.com/iG8DSwP.png

Thank you!

Post count: 144

Thanks, Calin. Didn’t realize that field also worked for custom taxonomy ID. Appreciate the help.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.