• How can I eliminate the date from appearing on each post?

    I an a newbie.

    I am using wordpress as a website, not for blogging.

    Currently, the date appears on each post (web page).

    I want to eliminate the date from each post because I want to operate site for the long term and a date on each page will make it look like old information in the future.

Viewing 3 replies - 1 through 3 (of 3 total)
  • well, you have to edit your theme.

    At least index.php, but maybe single.php and page.php as well. There could even be other files, again, depends on your theme.

    But you want to look for something like this…
    <?php the_time('F j, Y'); ?>

    it may have other stuff around it….like posted on:
    but that is the function you would need to delete

    (just make sure you have a backup of your theme if you’re not quite sure what you are doing)

    Hi,

    You need to edit the page.php or single.php file of your theme and remove this code;

    <?php the_time(); ?> OR <?php the_date(); ?>

    Thanks,

    Shane G.

    You can check Oozman’s Date Remover plugin. https://oozman.com/oozing/ideas/archives/oozman-date-remover-wordpress-plugin

    It works great for me. And I think this plugin works on all of the themes. Maybe you can try it out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘eliminating date from every post’ is closed to new replies.