Custom Post Types to Display in Blocks

Posted in: Newspaper
Post count: 49

Hello, how can I get specific custom post types to display within the different blocks in VC?

I have made both custom pages (Destinations) and custom taxonomy (countries), and I want each specific destination page to basically be block page with only one specific taxonomy id per block. Right now it only has options for category ids.

Thanks in advance!

Post count: 388

There’s a “post type” setting when you’re creating a block. If your CPTs have names that it can recognize, that will probably work (haven’t tried it myself)

Post count: 49

Hey, thanks for the quick answer! I tried using that field while editing the block, but to no avail. I played around and did various configurations in that post type field (putting both “country” and “country=###” for the tag id), and also putting the tag id in the two fields above it, for the multiple categories filter and tag slug.

Thanks for your help, though. Any other ideas?

Post count: 3343

Hello,
If you use a block with a custom post type, you can’t filter anymore by tags, or category ID, that works only for posts.

You need to modify the theme core to work like that, and at this time we can’t offer custom work, sorry for the inconvenience!

If you want you can hire a freelancer to customize the code for you. Try to find someone here: http://studio.envato.com

Thanks for the message!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.