How to Move Post Meta (Date and Author) Beneath Content?
-
Hello! I’m currently trying to relocate the author and date of posts to underneath content instead of before it. So far I’ve tried physically shifting
<?php if ( is_single() ) : //for date on single page ?> <div class="below-title-meta"> <div class="adt"> <?php _e('By','themonic'); ?> <span class="author"> <?php echo the_author_posts_link(); ?> </span> <span class="meta-sep">|</span> <?php echo get_the_date(); ?> </div> <div class="adt-comment"> <a class="link-comments" href="<?php comments_link(); ?>"><?php comments_number(__('0 Comment','themonic'),__('1 Comment'),__('% Comments')); ?></a> </div> </div><!-- below title meta end --> <?php endif; // display meta-date on single page() ?>
to the bottom of content.php (yes I’m using a child theme), but nothing has worked yet.
Does anyone else have ideas?
Thank you!Best,
Nate
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to Move Post Meta (Date and Author) Beneath Content?’ is closed to new replies.