WordPress.org

Ready to get started?Download WordPress

Forums

Iconic One
[resolved] How to add date to posts (4 posts)

  1. digitaldjinfo
    Member
    Posted 11 months ago #

    I want to add date to posts on my website. Any idea how I can do that ?

    http://www.digitaldjinfo.com/category/articles/

    I need the post dates displayed on that page above.

  2. Themonic
    Member
    Theme Author

    Posted 11 months ago #

    Hi DJ,
    To display meta( author and date ) on category pages:

    Open content.php

    go to line 25
    <?php if ( is_single() ) : //for date on single page ?>
    Replace the above line with
    <?php if ( is_single() || is_category() ) : //for date on single page ?>

    Let me know if it works.

  3. digitaldjinfo
    Member
    Posted 11 months ago #

    Yes sir, it worked perfect! Thank you for your help. Great theme by the way !

  4. daninovac
    Member
    Posted 10 months ago #

    How can I do exactly this not only for single posts, but for all the posts from home page??

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.