WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Davy39
    Member
    Posted 8 months ago #

    Hi,
    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
    Member
    Posted 8 months 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.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.