Jump to content
Sign in to follow this  
tuanma

Metabar short code for categories

Recommended Posts

tuanma

Hello all, I wanted to know if there is a short code for the metabar that only displays one category, ideally the parent category, when multiple categories are selected. Thanks. Tuan

Share this post


Link to post
Share on other sites
Rob
Tuan, I could be wrong about this but I don't believe there's a way to limit the number of categories displayed in the metabar via shortcodes or other means. However, if you're applying posts to multiple categories, you might want to try creating sub-categories as Custom Taxonomies which likely won't show up in that area. I use Custom Press (a plugin) to create the custom taxonomies. On my own site none of the custom taxonomies show up in the meta bar. If you did this, then you could limit the posts to one primary category (a default) then use the custom taxonomies as a hierarchy like so: Food (default) -Recipes --Soups and Stews ---Cold Soups ----Fruit Soups -----Berry Soups In this scenario on my site only Food would show up in the Meta bar.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
tuanma
@rangelone thanks for the suggestion. I did have this structure on my site, however, I'm using latest post entries plugin from the store and it only uses categories for filters -- therefore the sub-categories. I guess, I have to hope the developer adds an option for taxonomies.

Share this post


Link to post
Share on other sites
catrina
I'm not sure if an option for taxonomies will be added in the future, but since it's a plugin/third party feature issue, you'll need to get in touch with the plugin creator.

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×