• I want to hide a specific category from displaying in the post meta area of my theme theme. This blog post described my intention perfectly: https://basicwp.com/hide-category-post-meta-wordpress/

    Do you want to hide or remove a specific category from displaying in the post meta area of a WordPress theme? By default, we can either remove or hide all categories or display all categories assigned to a specific post. Since, each category does not have unique CSS class, we can not use display:none; function to target a specific category.

    I followed the instructions and I’m already running a Child Theme, so I put the code into the functions.php page. But nothing happened—it didn’t fix it.

    (I’m using Yoast, and it’s the secondary category that I want to hide. But I still want to display the primary category. But I don’t think this is actually a Yoast problem, hence why I didn’t post in the Plugin forum)

    I’m using a theme called Paperio that I purchased from Envato.

    • This topic was modified 7 years, 4 months ago by monnibo.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    – For pro or commercial product support please contact the author directly on their site.
    – As the author is aware, commercial products are not supported in these forums. As you are their customer I am sure they will have no problem supporting you there.

    Thread Starter monnibo

    (@monniblog)

    Hello t-p,

    It’s not the theme I’m looking for help with, I only mentioned it incase it affects the issue at hand. I want to adjust the visibility of the categories across my installation of wordpress.

    Is there a more suitable sub-forum to ask about this customization?

    Hi @monniblog
    Try to contact the theme Author in Evanto marketplace. Theme Authors know all customization methods they can help you in Hiding category name from post meta.

    Moderator bcworkz

    (@bcworkz)

    Hi monnibo,

    You are probably perplexed about why people keep telling you to get with the theme author when you’ve clearly stated that your issue affects the visibility of WP categories in a listing of WP posts. Clearly a WP question, right?

    Sadly, no. It is your theme that manages the visibility of anything on your site. We have no idea how your theme makes categories and other post meta values visible, so we are unable to help you, our apologies. Hardly anyone hates sending people off to other venues more than I do, as I know all too well how frustrating it is.

    I’ll tell you what though, if you can dig into your theme template and identify a core WP function for either outputting the undesired data, or getting it in preparation for output, tell us what core function that is and maybe we can help you. If it’s a theme function on the template, try to find the function declaration, it may use a WP core function internally that can be manipulated through a filter.

    We can help with WP core code, but not theme code. Thanks for your understanding. Best of luck to you in your quest.

    Thread Starter monnibo

    (@monniblog)

    Thank you for clarifying bcworkz. I appreciate it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide Category names from Post Meta’ is closed to new replies.