How to remove post date? (5 posts)

  1. jefonte
    Posted 5 years ago #

    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

  2. randyttp
    Posted 5 years ago #

    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.

  3. jefonte
    Posted 5 years ago #

    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!

  4. James Laws
    The WP Ninjas
    Theme Author

    Posted 5 years ago #


    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.

  5. jefonte
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic