CPT UI plugin

Posted in: Newspaper
Post count: 14

I have built some Custom Post Type using the plugin CPT UI.
Now I would like your theme to show these CPT.

I can see them in the cpt&taxonomy theme panel, but when I go to a category with only these CPT, there are no post shown.

What do you recommend ?

It would be great if you guys could manage CPT more easily.

Post count: 14

actually I tried your cpt plugin with the books CPT, tried to add a new post with that CPT
but it doesn’t show on the homepage latest articles either…

Post count: 22421

Hello,
If you used our plugin and created the td_book CPT, you can set it from the block settings to display on your homepage: Simply use the ID you gave your CPT (our plugin uses ‘td_book’) and add it to the post type field in block settings: http://screencast.com/t/F9OwlGOrnKd (i set mine to show booksa and posts.) You can use the same method for the latest articles: http://screencast.com/t/Hn9kwjZdk
Result: my book is displayed both in my block and in my latest articles section along with the posts :http://screencast.com/t/VDE2zUGwpV4
I hope this helps.
Thank you!

Post count: 14

thank you this was very helpful ! I am impressed by the support for this plugin , this is really good business !

Post count: 14

one more question, how can I change the CPT for the category page ? Do I have to modify the code in category.php ?

Post count: 22421

Hi,
Unfortunately taxonomies do not work like that at the moment. For every post type there is a taxonomy. The books post type has a taxonomy based on genres. You can add a genre to your post and then use the genre page exactly as a category page. You can select how to display your books: http://screencast.com/t/vLyP3r24 so you will have a ‘genre’ page not a ‘category’ page. You can add a genre page from the wp menus area: http://screencast.com/t/vm5dsFsbvF1
In order to get the post category to show a custom post type (to ‘mix’ taxonomies) is a more complicated thing. It could be done by hard coding it, but unfortunately i have no quick solution for it. You can maybe find some usefull info on the subject here: https://premium.wpmudev.org/blog/add-custom-post-types-to-tags-and-categories-in-wordpress/
I hope this helps.
Thank you!

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