WordPress.org

Forums

How Do I Remove the Post Date From All Posts? (10 posts)

  1. JamesDowen
    Member
    Posted 3 years ago #

    Can someone please help me? I am testing out the Evolve theme and I want to remove the date from all of my posts. I used the Date Exclusion SEO plugin but it still leaves the little box on the posts where the date should appear. Could someone please tell me how to remove that box completely without damaging anything else? Any help will be much appreciated.

  2. Phil
    Member
    Posted 3 years ago #

    Without seeing the PHP code:

    Open single.php from the editor and locate and remove the php line used to display the post meta.

  3. JamesDowen
    Member
    Posted 3 years ago #

    There isn't a single.php file with the Evolve theme. The is an evolve.php but that is nothing like single.php.

  4. Phil
    Member
    Posted 3 years ago #

    Hang on, let me download the theme and check...

  5. JamesDowen
    Member
    Posted 3 years ago #

    Okay thanks

  6. Phil
    Member
    Posted 3 years ago #

    Yeah, no single.php.

    A sneaky quick fix for you:

    Open base.css (line 14):

    .published {
        background: url("../images/widget-title.gif") no-repeat scroll center bottom #575A62;
        border: 1px solid #494C55;
        color: #FFFFFF;
        float: left;
        left: -11px;
        line-height: 15px;
        padding: 4px 7px;
        position: relative;
        text-align: center;
        text-shadow: 0 1px 2px #444444;
        top: -11px;

    And change to the following:

    .published {
    display: none;
    }

    Not the best way to do it, but certainly the easiest.

  7. JamesDowen
    Member
    Posted 3 years ago #

    Okay thanks for your help

  8. Phil
    Member
    Posted 3 years ago #

    ...you can then do away with the plugin as well and save on PHP calls used by the plugin.

  9. DavidAltmann
    Member
    Posted 3 years ago #

    Hi PSM Digital

    I wanted to do the same but can nowhere find the base.css you mention. Maybe it's not applicable anymore, maybe because in the meantime the theme was updated at least once?

    I am not really familiar with themes so if you'd be so kind to look into this again, it woul be much appreciated :)

    Thanks,
    David

  10. esmi
    Forum Moderator
    Posted 3 years ago #

    Please post a new topic.

Topic Closed

This topic has been closed to new replies.

About this Topic