• http://www.techover.in Avinash

    and what about if I want to add this meta on each post in front page.. how can i achieve it ..
    what codes should i write to do this?

  • kamille

    Thank you, thank you, thank you!
    It worked well!
    And it was real easy with your help!

  • Marius Busoi

    Thank you very much!

    Respect!

  • http://tanyajawabforex.com afjsystem

    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 ?

    • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

      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;}

    • http://tanyajawabforex.com afjsystem

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

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

      any advice ?

  • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

    I have updated the Snippet to improve handling of Post Meta editing.

    Let me know if I missed something.

    Needs Customizr 3.1.* or above

    • http://tanyajawabforex.com afjsystem

      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?

  • http://www.borgmeren.nl Iris

    hi,

    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?

    thx

  • http://www.borgmeren.nl Iris

    Sorry, it was solved by changing some other problem I had. Thanks Dave!

  • Fabio

    Hello,

    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?

    thanks

    • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

      Did it not work with single-quotes (‘)?

      • Fabio

        Thanks for the prompt response Dave. I have actually figured it out, the problem was that since my site is in Italian I had to adjust the first part of the php script to match the wording in Italian.

        • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

          Thanks Fabio. Saw the light when Eelco raised the same issue below. I’ve corrected the Snippet.

          • Marica

            Hello,

            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?

            thanks

  • http://concernedcitizens.pro L Savage

    http://www.presscustomizr.com/snippet/remove-post-meta-details/

    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?

  • Eelco

    Hi, do I have to change the English text in the //DO NOT CHANGE area to my WP language (DUTCH) to function OK?

    • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

      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

    • Janneke

      Hi Eelco,

      I want to remove the entire post notice. But with the explanation (including the css part) above it doesn’t work. As I’m from the Netherlands too, I’m wondering if you could send me the part in functions.php you wrote. Mine is:

      //Change meta text
      add_filter(‘tc_meta_utility_text’, ‘rdc_meta_utility_text’);
      function rdc_meta_utility_text($output) {

      // CHANGE TO DEFAULT TEXT IF NON-ENGLISH LANGUAGE
      $oldentry1 = ‘Dit item ‘;
      $oldposted1 = ‘is gepost in ‘;
      $oldposted2 = ‘is gepost op ‘;
      $oldtagged1 = ‘en getagt ‘;
      $olddate1 = ‘op ‘;
      $oldby1 = ‘door ‘;
      $oldfullstop = ‘.’;
      // CHANGE TO DEFAULT TEXT IF NON-ENGLISH LANGUAGE

      // Edit this wording to your needs, to remove completely use ”
      $newentry1 = ‘Dit item ‘;
      $newposted1 = ‘is gepost in ‘; // Category
      $newposted2 = ‘is gepost op ‘;
      $newtagged1 = ‘en getagt ‘; // Tag
      $newdate1 = ‘op ‘; // Date
      $newby1 = ‘door ‘; // Author
      $newfullstop = ‘.’;

      // Edit above wording only
      return str_replace(array(
      $oldentry1, $oldposted1, $oldposted2, $oldtagged1, $olddate1, $oldby1, $oldfullstop
      ), array(
      $newentry1, $newposted1, $newposted2, $newtagged1, $newdate1, $newby1, $newfullstop
      ), $output);
      }

      Thanks a lot!
      Janneke

  • 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?

    • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

      Sorry Lars. I’d suggest the Forum would be a better place to get a solution for this, with a much wider audience to help fix problems. And please include a link to your Site.

  • Marica

    Hello,

    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?

    thanks

    • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

      Sorry Marica. I’d suggest the Forum would be a better place to get a solution for this, with a much wider audience to help fix problems. And please include a link to your Site.

    • Steven H.

      Yes, you need to display the tag buttons again:

  • http://0392b11.netsolhost.com/wordpress2/community/ Chris

    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 “……………….”.

    • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

      Hi Chris, I’d suggest the Forum would be a better place to get a solution for this, with a much wider audience to help fix problems. And please include a link to your Site.

    • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

      See new reply to DMac. Hope this correction to snippet works for you.

  • http://oizuled.com Scott DeLuzio

    I stumbled across this article, while trying to remove the post meta from the “downloads” page while using the Easy Digital Downloads plugin. For example, I wanted the post meta details on my blog posts, but didn’t want “This entry posted by…” on a product page.
    I just added

    to my child theme’s style.css and it worked perfectly.
    Figured I’d post this tip here in case anyone else was trying to do the same.

    • http://www.presscustomizr.com/ Nicolas

      Well that’s very kind of you Scott. It will surely help!
      Thanks and enjoy the theme

    • F. P.

      In the style.css I’ve put the following codes in “Post and Pages” section (mine was 9.1)

      And with this it all dissappeared, without any other hustle.

  • Sara

    Hi Dave,

    I’m having the same issue of Chris: after pasting the code to the child theme functions.php, it removes all of the meta detail & text and replaces it with “……………….”.
    I’ve tried to find an answer through forum posts but actually couldn’t find anything about that. Any suggestion?
    thank you very much for helping!
    Sara

    • Sara

      Sorry I cannot paste my site url: it’s not online yet.

    • DMac

      Hi,

      +1 on the problem with this function replaces meta details with “………………………..”
      Same as Chris and Sara

      Any solution appreciated

      • DMac
        • http://www.presscustomizr.com/ Nicolas

          Thanks for sharing Dmac!

        • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

          Not a fan of that solution I’m afraid. Moving large chunks of core files into the child theme is not a great solution.

          a) I’ve changed the snippet to use str_replace instead of preg_replace.
          b) Read this new documentation from @ElectricFeet for explanation on Hooks, Actions and Filters.

          • Sara

            working fine for me too!
            many thanks! :)

    • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

      See new reply to DMac. Hope this correction to snippet works for you.

      • DMac

        Dave, new snippet works as expected.
        Many thanks for the update and explanation.

  • http://joyofsalvationministries.org.uk/ Apostle

    The codes from – “Remove individual Post Meta Details” and “Now finish off by editing and adding the following code to your child theme functions.php” worked nicely for me. However I would like to have the Author’s name showing Can anyone help me on this?

    • http://profiles.wordpress.org/rdellconsulting/ Dave Bardell

      Remove lines 16-19 from your code as that suppresses Author.

  • http://www.ukgomobile.com Brian G Scully

    Hi! Fantastic Theme… Is it possible to completely remove the “zoom effect” from the abbreviated blog postings on the blog page? I have searched high and low and cannot find an answer. I have managed to change the image from a Circle to a Square but the “Zoom” remains… Thank you Brian

  • http://whatvwant.com jinka varalakshmi

    Sir I have placed this code in my style.css file. Category and tags are removed but date is not removed. I want to display only author name below title. Please tell me the solution.

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

    /* Remove Post Tag */
    .btn-tag {
    display: none;
    }

    /* Remove Post Date */
    .entry-date {
    display: none;
    }

  • Anna

    hello Dave this code does not work anymore

  • http://www.marbellahome.com.au courton

    Hi, could someone help me remove the date, tags and author under each post title – preferably without playing around with codes please!

  • http://www.giorgioriccardi.com Giorgio25b

    Thanks Dave,
    I stumbled in a interesting and very particular situation with your snippet.

    I don’t want to show the text “on ” for the date therefore I have a line like this:
    $newdate1 = 'on '; // Date
    The only problem is that also the text of the categories that are ending with “on” are cut of [e.g. a category Election becomes Electi]

    There is probably a better way to solve it but this is how how if fix it for now.
    I’ve inserted an empty space before the ” on” at this line:
    $olddate1 = ' on';

    Cheers

    • http://www.giorgioriccardi.com Giorgio25b

      my mistake in the first line, I meant:
      $newdate1 = ' '; // Date

  • Mindaugas

    how to move all “post metas” under each posts?

  • Rebecca

    Hi. This did not work at all for me. I inserted the respective codes into my child theme css and functions.php and now the actual text of the functions.php code shows up at the top of the page when I go to Child Theme Options in the CMS. I have other code in the functions.php for adding a header image and that part still works. Do I need to add <?php or anything before and after?