• Resolved duonosgira

    (@duonosgira)


    I think these things are called Post Meta Data, I wish to delete them from my posts (and the website if possible)
    I tried a number of ways, finding and deleting these tags in index, single and page php, I tried adding the command at the end of style.css, nothing worked
    Any help appreciated

    webpage : http://www.cookingclasseslist.com
    thanks!

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

    From what I understood, you want to delete the Post Meta Data, i.e. Date, author.
    There is a quick way to do so, adding a line in your style sheet :

    .meta {
    display: none}

    Tell me if it works, and tell me that’s what you wanted. Cheers!

    Thread Starter duonosgira

    (@duonosgira)

    Thanks ariasg,

    I tried adding these lines to the style sheet, but still it didn’t work

    Oops, sorry!
    It worked for me, with Chrome and Firefox, maybe not with I.E. or Safari…

    If you’re familiar with basic php, and deleting some lines, there is a radical method I use sometimes – but I don’t know if it’s recommanded for all cases – but at least, it works :

    • Creat a child theme
    • Copy the 4 php files in the directory of your new child theme /wp-content/themes/new_child_theme/
    • loop.php
    • loop-page
    • loop-attachement.php
    • single.php
    • Delete in each files the php lines that calls category, author, date etc.

    Is that ok?

    Thread Starter duonosgira

    (@duonosgira)

    thanks ariasg, problem solved, I deleted a few lines in single.php!

    You’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to delete posted on, written by and category?’ is closed to new replies.