badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Hiding author, date, category information AND separators

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #3915
    naturals
    Participant

    Hi All,
    Can anyone tell me once I’ve got rid of the author, date, category and comments footer on each post how I get rid of the vertical separation between the fields? Have a look at my website here if you need to – the bars I’m talking about are visible on the first page if you scroll down a little.

    Thanks in advance,
    Andrew

    #3941
    Rabin Shrestha
    Participant

    Hi naturals,

    You can paste the CSS below in Custom CSS box

    .entry-header .entry-meta {
        display:none;
    }

    Rabin

    #3949
    naturals
    Participant

    Thanks for your help Rabin, unfortunately the three separation lines are still showing. Any other ideas?

    #3950
    Rabin Shrestha
    Participant

    Sorry,

    There was a slight mistake try this

    .entry-meta {
        display:none;
    }

    Rabin

    #3962
    naturals
    Participant

    PERFECT! Thank you so much for the quick response.

    #3984
    Rabin Shrestha
    Participant

    🙂

    #3997
    Maria
    Participant

    Hello Rabin,

    Your last code works great, but is there any way to also delete the lines above and below the “Read more” button? I’d only like to have one line separating each post on my site (http://www.readingforpleasure.net/).

    Thank you!

    Maria

    #4006
    Rabin Shrestha
    Participant

    Hi,

    If you want to remove both line paste this CSS

    .entry-meta-bar {
        border-bottom: medium none;
        border-top: medium none;
    }

    if you want to remove only bottom line then remove the border-top css and viceversa

    Rabin

    #4018
    Maria
    Participant

    Thank you much Rabin! Looks great now!

    Best,
    Maria

    #4238
    mnr
    Participant

    I wanted to hide just the author. And not just hide via css but remove it completely.
    So I found library/structure/content-extensions.php
    and I changed these lines – lines 147 and 148:

    <!– <span class=”by-author”><?php _e( ‘By’, ‘attitude’ ); ?> “><?php //the_author(); ?></span> |
    –>
    This works better for me as with the other solution the author is still visible by doing a ‘view source’, whereas this way it is completely hidden and my WP username isn’t visible to the whole world (better for security).

    #4278
    Rabin Shrestha
    Participant

    Hi mnr,

    It’s better approach but if you have made changes directly to the theme file, your changes will get lost when you update the theme. So hope you have followed child theme method to make code changes. For more detail have a look here http://codex.wordpress.org/Child_Themes

    Rabin

    #4608
    krown24
    Participant

    Hi! I tried adding this custom css and no luck — the author and date are still appearing in my indexed posts. Any thoughts? Thanks!

    http://www.awscpahouston.org/Wordpress/

    #4622
    Rabin Shrestha
    Participant

    Hi krown24

    Please check your Custom CSS properly you are missing the closing curly braces in
    #site-logo {
    float:left;
    margin-top: 15px;

    Also remove this code

    .entry-header .entry-meta {
        display:none;
    }

    Rabin

    #4641
    krown24
    Participant

    Ah, wonderful, thanks! Still learning so silly mistakes I see now 🙂

    #22181
    Daniel
    Participant

    So is there a custom css way to just hide the author – or do I also ned to edit my code?

    Thx,

    Dan

Viewing 15 posts - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.