So I want to move my comments section to the left of my content in my Twentythirteen child theme. I've located where it's pulled from in the content.php file:
<?php if ( comments_open() && ! is_single() ) : ?> <div class="comments-link"> <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a comment', 'twentythirteen' ) . '</span>', __( 'One comment so far', 'twentythirteen' ), __( 'View all % comments', 'twentythirteen' ) ); ?> </div><!-- .comments-link --> <?php endif; // comments_open() ?> <?php if ( is_single() && get_the_author_meta( 'description' ) && is_multi_author() ) : ?> <?php get_template_part( 'author-bio' ); ?> <?php endif; ?>
Trouble is I'm not too sure where to move it too in terms of other php files? I've moved my secondary widget area to the left of the content (rather than the default right). Is there a way I can make a widget use this code and still work?
Edit: So I tried using the PHP Code Widget and C&P the above code it but it doesn't display anything :(