WordPress.org

Support

Support » How-To and Troubleshooting » How Do I Remove the Post Date From All Posts?

How Do I Remove the Post Date From All Posts?

  • JamesDowen
    Member

    @jamesdowen

    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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Phil
    Member

    @owendevelopment

    Without seeing the PHP code:

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

    JamesDowen
    Member

    @jamesdowen

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

    Phil
    Member

    @owendevelopment

    Hang on, let me download the theme and check…

    JamesDowen
    Member

    @jamesdowen

    Okay thanks

    Phil
    Member

    @owendevelopment

    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.

    JamesDowen
    Member

    @jamesdowen

    Okay thanks for your help

    Phil
    Member

    @owendevelopment

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

    DavidAltmann
    Member

    @davidaltmann

    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

    esmi
    Forum Moderator

    @esmi

    Please post a new topic.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How Do I Remove the Post Date From All Posts?’ is closed to new replies.