WordPress.org

Support

Support » How-To and Troubleshooting » How to remove post date?

How to remove post date?

  • Hello and THANKS in advance for any help on my issues.

    1- I want to remove post date for every post. How can I do it??

    THANKS again in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • It depends on what theme you are using.

    but essentially you will be looking to erase <?php the_time('F jS, Y') ?> from any of the index.php home.php single.php templates.

    But once again it really depends on what theme template you are using.

    Also I’m pretty sure there are plugins that will allow you to erase the date from all posts, so that way you don’t have to edit the template files.

    It is the Distinction theme.

    The code <?php the_time(‘F jS, Y’) ?> is not in this theme.

    In archives.php I have this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    What should I delete here??

    THANKS randyttp for you support!

    James Laws
    The WP Ninjas

    @jameslaws

    @jefonte

    It is being output by a function called wpnj_distinction_posted_on() on line 43 of post-utility.php

    You can remove that function or edit the output of the function from the functions.php file.

    THANK YOU VERY MUCH guys. I delete wpnj_distinction_posted_on() and that make the chance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove post date?’ is closed to new replies.