How can i fix it so that only specific post types are showing up

Posted in: Newspaper
Post count: 12

right now in your demo version on the right where it says Modern i only want one post type to show up there. how do i do that?

i changed this [td_block_15 category_id=”” limit=”4″ custom_title=”MOVIES” td_filter_default_txt=”All” ajax_pagination=”next_prev” sort=”random_posts”]

to
[td_block_15 category_id=”” limit=”4″ custom_title=”MOVIES” td_filter_default_txt=”All” ajax_pagination=”next_prev” sort=”movies_posts”]

but that doesn’t work

Post count: 20688

Hi,

If you want to display your custom post type on the block, you must enter it’s name in the required field. The sort the posts as you want. Example for a custom post type
https://www.screencast.com/t/7lOXmBftVN
https://www.screencast.com/t/ZV5VLZQAAd
You can find more information about the available block settings and options here
https://forum.tagdiv.com/block-settings-guide/

Thanks

Post count: 12

this is probably a dumb question but how do i find it’s name? Would it just be the category name or the slug name? Where can i find the exact syntax? in your example it said td_book. My category titles aren’t formatted like that. thanks for your help!

Post count: 20688

Hi,

Maybe I am misunderstanding this and you are asking how to filter the posts displayed on a block, by a specific category. All the blocks have this filtering option, or even by multiple categories.
https://www.screencast.com/t/aEuwsmkZmtYw
Then the block will pick posts only from the filtered category or categories.
More information about the block settings here
https://forum.tagdiv.com/block-settings-guide/

Thanks

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