• dayhj

    (@dayhj)


    How do I remove the author name, time and date from pages and posts?

    Thanks for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • jamiebrwr

    (@jamiebrwr)

    Try adding the styles below to your theme…

    span.fotoautor { /* in author page */ display: none; visibility: hidden; }
    div.credito img:first-of-type { /* in single post */ display: none; visibility: hidden; }
    article.chamada p small img { /* in excerpts */ display: none; visibility: hidden; }
    span img.avatar { /* in pages */ display: none; visibility: hidden; }
    .entry-meta > p { /* in single post */ display: none; visibility: hidden; }
    .page > p { /* in page */ display: none; visibility: hidden; }
    .readtime { /* homepage */ display: none; visibility: hidden; }
    Thread Starter dayhj

    (@dayhj)

    I added the CSS to Appearance>Editor but no changes were made. Was that the right place to put the styles?

    Thanks for your help!

    turelpress

    (@turelpress)

    hi all;

    in whick *.php file that i have to add these codes?

    jamiebrwr

    (@jamiebrwr)

    You should add the code to your style.css file.

    esmi

    (@esmi)

    No! Do not edit the theme itself. First create a child theme for your changes. Or install a custom CSS plugin.

    Thread Starter dayhj

    (@dayhj)

    It doesn’t work when I add it to style.css. I put it at the top of the page, then the bottom. Do you know what I’m doing wrong?

    Thanks, again!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove author name, time and date from pages and posts’ is closed to new replies.