Community Forums › Forums › Archived Forums › Design Tips and Tricks › Hide a certain category link from all places it might show up
Tagged: Altitude Pro, customization, exclude categories, meta
- This topic has 5 replies, 2 voices, and was last updated 10 years, 6 months ago by
Davinder Singh Kainth.
-
AuthorPosts
-
August 21, 2015 at 11:32 pm #163113
lorilin
MemberHi all,
I have a "secret" post category I use for my own purposes of organization, but I don't want the link to that category to show up in my post meta, breadcrumbs, etc. Altitude Pro is the theme I'm using.
What is the simplest way to tell genesis to not show the links to that category?
To be abundantly clear, I want the actual posts from that category to show, but want to completely hide the link to that category from everywhere WordPress might generate it for my site visitors. The posts assigned to that "secret" category will all be assigned other categories that viewers CAN see for organization.
I'm pretty sure I need to do an if ( !is_page && NOT IS MY SECRET CATEGORY() ) but am not sure if that's right or where it should go.EDIT: Thinking more, the above idea is probably totally wrong. I'm thinking the code must go somewhere here:
Any tips?
Lori
August 22, 2015 at 6:57 am #163133Davinder Singh Kainth
MemberTry this - https://wordpress.org/plugins/wp-hide-category/
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesAugust 22, 2015 at 2:25 pm #163190lorilin
MemberI appreciate the tip, Davinder. It looks like that plugin hides the actual category posts, though. I want to display the actual posts, but keep the "secret" category link from showing up in the breadcrumbs, meta area, etc. It's because it's a category I only use for my own organization...it won't make sense to site visitors. And I tend to use colorful names for things like that to help me remember ;-p
August 23, 2015 at 8:45 am #163224Davinder Singh Kainth
MemberJust published this - http://www.basicwp.com/hide-category-post-meta-wordpress/
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesAugust 24, 2015 at 9:41 am #163306lorilin
MemberThanks, Davinder! That worked great for the meta section. I hope others will find it useful, too (I hate to think you went to all that effort just for me).
I had some trouble with the category appearing in the breadcrumbs, but have figured out a workaround. I don't use tags for anything at all, and those are pretty easy to remove. So I'll be using tags for my backend categorization for now.
Anyway, you are a prince for helping out 🙂
Cheers,
LoriAugust 25, 2015 at 7:05 am #163414Davinder Singh Kainth
MemberWelcome Lori 🙂
Yes, personally even I use tags for organization and not show them in front end.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.