Need help please from someone with php Knowledge
-
I am still at the early stages of learning php and would like to modify my child theme by combining the following code:
<div class="frontPageComment"> <a href ="<?php the_permalink(); ?>#comments"><?php comments_number('No Comments', '1 Comment', '% Comments'); ?></a> </div>
with
<?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[entry-author] [entry-edit-link before=" | "]', hybrid_get_textdomain() ) . "| " . human_time_diff(get_the_time('U'), current_time('timestamp')) . ' ago' . '</div>' ) ; ?>
what I am trying to do is to show the comments link right after the time posted text(human_time_diff) in the byline.
Thank you very much for any help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Need help please from someone with php Knowledge’ is closed to new replies.