Remove categories and tags buttons in the post metas block 13

Note : This snippet applies to Customizr version 3.1.x and below. It may not work with version 3.2+. Use with caution on 3.2+ and check the availability and type of the hooks in the Customizr hooks API.

Last Reviewed: 29-Mar-14

If you need to remove date, authors and tags, categories buttons below the post titles, here are two useful code snippets

Where to copy/paste this code?
This php code requires you to use a Child Theme. Everything you need to know about creating a child theme with Customizr here.

1) First method (removes all metas)

Copy/paste into your customizr child theme functions.php

 

2) Alternative Method (removes only categories and tags)

Copy/paste into your customizr child theme functions.php

 


About Dave Bardell

My name is Dave Bardell (@rdellconsulting) and have been supporting the Forum since discovering this wonderful Theme. Have learnt a lot from other Supporters (@acub, @tomaja, @ElectricFeet, in particular). Have a library of snippets I've built up which in adding here, I'll try to acknowledge the original contributor but apologies to any I miss or wrongly attribute. daveb@rdellconsulting.com


13 thoughts on “Remove categories and tags buttons in the post metas block

Leave a Comment

Your email address will not be published. Required fields are marked *

Do you need to share some code? To display it in a nice looking syntax highlighter, wrap your code between the following tags (css code in this example) : <pre class="lang:css">YOUR CODE</pre> ( possible code language acronyms : css, php, xhtml, javascript, sql)

You may also use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">