Remove Post Meta Details 26

Last Reviewed: 28-Mar-14

If you need to remove any or all of the items around a Post (Category, Date, Author), this can be partially achieved with CSS.
To remove the extra text “This entry was posted in”, “on”, “by” & “.”, a new filter needs to be added to the functions.php.

Needs Customizr 3.1.* or above

Where to copy/paste this code?
The simplest way is to use the Custom CSS section of the customizer option screen. If you have many customizations to make in CSS and PHP, then we strongly recommend you create a child theme. Everything you need to know about creating a child theme with Customizr here.

Remove ALL the Post Meta Details:


Remove individual Post Meta Details:


Now finish off by editing and adding the following code to your child theme functions.php:


Where to copy/paste this code?
We strongly recommend you create a child theme and add this to the Child Theme functions.php.
<a title="Customizr Child
Theme” href=”” target=”_blank”>Download a start-up child theme here.

Remember: you shouldn’t edit the theme’s functions.php.

@Eelco wrote:
Hi, do I have to change the English text in the //DO NOT CHANGE area to my WP language (DUTCH) to function OK?
@rdellconsulting wrote:
Great question to an Englishman who forgets that other people aren’t English! Have checked another Dutch site, and yes, you are absolutely correct. Thanks.

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.

26 thoughts on “Remove Post Meta Details

  • Reply

    Hi Dave, how are you ?

    i intend to remove meta entry-date for certain categories.
    some categories is not time bound and few are time bound.

    how can i do that ?

    • Reply
      Dave Bardell Post author

      Every Category within a post can be targeted with the class .category-(catname) so you would need to target using something like .category-catname .entry-date {display:none;}

    • Reply

      Thanks Dave.. for one word of catname, it works..

      but i have trouble with two words of catname, such indikator forex.

      any advice ?

    • Reply

      No luck with extended snippet changing the utility text.
      i change $olddate1 =’|on |’ ; with this $newdate1 =’- ‘ ; or only emptyspace. it’s not change anything.

      it’s cache matters?

  • Reply


    tried to use the above mentioned codes in order to get rid of my post-42 above the footer of my homepage, but can’t get it solved. Anyone who can help me?


  • Reply


    I have managed to remove the post meta details but although I have followed you instructions and used ” in the php file It will not remove the text. Any suggestions?


  • Reply
    L Savage

    On this page it has everything you’d assume one would want on the category post pages…..

    However, I’m building a government transparency website and I need to remove the text (excerpt or full) completely from these pages..

    I’ve looked for hours for a place to alter or set value to zero — but no luck.

    Also was reading a thread where you mentioned you’d put up snippet that puts the slider into these category pages too.. Is it ready?

    • Reply
      Dave Bardell Post author

      Great question to an Englishman who forgets that other people aren’t English ;)

      Have checked another Dutch site, and yes, you are absolutely correct. I’ll add a note to the Snippet

  • Reply
    Lars Erik Almo

    hmm, I doesnt get it to work. When I copy code to child function php, I only get a lot of …………………………. in my tag line.

    My page is not English but Norwegian. What am I missing?

  • Reply


    first of all thanks for having posted this.
    I wanted to remove only the category, keeping the tag, but if I use

    /* Remove Post Category */
    .entry-meta .btn {
    display: none;

    it will remove the tag as well.
    what am i doing wrong?


    • Reply
      Steven H.

      Yes, you need to display the tag buttons again:

  • Reply

    Hi Dave.
    I followed your instructions to Remove individual Post Meta Details and that properly removed the category and author.
    But when I add the code to the child theme functions.php, it removes all of the meta detail & text and replaces it with “……………….”.

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="">