how can i limit the count of categories in the blocks, in the post header or on the archive pages? i run a wiki where a post can have 20 categories. this is too much for displaying in the post header or in the blocks. i want to switch from the publisher theme to newspaper but i need this option
Hi,
In the blocks a post will be represented by a single category tag, it’s primary category. Each post has a primary category, more about this here
– https://forum.tagdiv.com/primary-category/
In the post pages you can hide any category, in the per category settings
– https://www.screencast.com/t/a3f6Scn6kg
Or using the Cloud library plugin and tagDiv composer, design a post template as you want starting with a blank template, or import a predefined template (this can also be modified)
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
In these templates the category tag element has a limit you can set
– https://www.screencast.com/t/N6hNUp0ra
This would be a solution to limit the number of categories as you want.
Thanks
Thank you soo much for your help. This would fix my problem. But i have a further problem. i use the Fixed Table Of Content Plugin from Codecanyon. On the normal Postlayouts and Sites it works perfekt. But when i use a Cloudtemplate for Posts, the TOC is not displayed.
-
This reply was modified 8 years by
printerio.
Maybe the plugin provides implementation by shortcode instead of widget, try it like that also. Enter the shortcode in a text element in the post sidebar, while designing the template with the composer.
Other than that I would’t have any solution, we have not included testing a compatibility between the new templates and that plugin.

