how to hide the post date

  • Unknown's avatar

    Hello, I need a help regarding how to remove the post date. and here it is the website: http://asuisp.cn

    I used the other’s CSS code stated in below but still couldn’t delete everything:

    /* hide page category, post title and author/dates */
    .single .page-title, .single .post-title, .single .post-byline {
    display: none;
    }
    .post-author {
    display: none;
    }

    .post-meta {
    display: none;
    }
    .post-byline {
    display: none!important;
    }
    .post-meta {
    display: none!important;
    }

  • Unknown's avatar

    Hi asuisp,

    It looks like your site is a self hosted site. This forum is specifically for sites hosted through WordPress.com. You should be able to find plenty of help from the WordPress.org forums

    Differences between WordPress .com and .org

    Good Luck.

  • Hi asuisp,

    Please try the following code to remove the post date from your website home page:

    .post-date {
        display: none!important;
    }

    If you’re hoping to get rid of the date, title, and author, please try the code below:

    .post-date,{
        display: none!important;
    }
    .post-title {
        display: none!important;
    }
    .post-meta {
        display: none!important;
    }

    Please let me know if the above resolves your issue! If not, as taranwanders noted, there’s plenty more helpers on the WordPress.org forums. Good luck! :)

  • Unknown's avatar

    Thanks for the info

    [broken link removed by @thesacredpath]

  • The topic ‘how to hide the post date’ is closed to new replies.