• I am using a child theme of Twenty Twelve and I was able to remove the whole ‘This entry was posted in’ line using this:

    .entry-meta
    {
    display:none;
    }

    But the problem is, it also removes the edit link and I would like to keep the edit link there as I use it a lot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Easy (I think)

    You’ll need a text editor (like Notepad++).
    Download your entire theme folder in your PC/MAC, then, using the text editor, make a search (Search and Find in files) with the word “entry-meta” and/or “This entry was” in the whole theme directory.
    Then you just have to find where the text “This entry was posted in” is, remove the entire PHP code that retrieve the post DATE/TIME, save file(s), upload files to your server.
    That’s it.

    Thread Starter stampinstuff

    (@stampinstuff)

    That is quite helpful. I didn’t know you could search the whole thing like that with notepad++. I use ZenCart for my store and you are able to search using ZC admin and all yesterday I struggling with not being able to search.

    As fantastic as it is to be given the answer on this forum for a quick fix, this has been helpful enough to warrant the whole ‘teach a man to fish’ thing.

    I have it searching now so hopefully I can work out how to do it.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Did you make the change in your child theme?

    Thread Starter stampinstuff

    (@stampinstuff)

    Yes, it is a child of twenty twelve.

    I’m having trouble finding out how I edit functions (where the search said ‘posted on..’ sits. I read that if you copy all of functions into your child theme you get an error so I’m unsure what I have to do.

    I have created a new blank functions.php but I haven’t put anything in it yet. Do I just copy the ‘posted on line’ to the new functions and change the text there or do I need some sort of required wording at the top like I did with style.css?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove 'This entry was posted in'’ is closed to new replies.