[resolved] Display publication date on category view and post view (2 posts)

  1. Davy39
    Posted 3 years ago #

    I'm setting up a travel website using pinboard which is really great !
    (suivez-nous (dot) asia)
    I wonder if it possible to modify some php code in order to display the publication date with big fonts, both in category view (suivez-nous.asia/category/blog) and post view.
    I only know a little bit of php...
    Thanks for your help

  2. Davy39
    Posted 3 years ago #

    Thanks for your help, I've succeeded :P

    I had to introduce the following line where I needed into the files content.php and single-post.php.

    <?php the_time( get_option( 'date_format' ) ); ?>

    I think I should now play a little with css to format it but actually the initial format is not so bad.

    Hope it could help someone.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.