• Can you please help me incorporate this line:

    <?php echo human_time_diff(get_the_time('U'), current_time('timestamp')) . 'ago'; ?>

    into this(in index.php):

    <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[entry-author] [entry-published] [entry-edit-link before=" | "]', hybrid_get_textdomain() ) . '</div>' ); ?>

    so that the code will replace [entry-published] and display time as “Hours ago” etc…

    Thank you!

  • The topic ‘PHP Help Please ***human_time_diff***’ is closed to new replies.