How would I move the comments to a different area, for example in the before_footer area as the last element (In case you have several elements in that area). Thank for any help!
That sounds easy, this is the code I delete and place in an element?
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || '0' != get_comments_number() ) :
/**
* generate_before_comments_container hook.
*
* @since 2.1
*/
do_action( 'generate_before_comments_container' );
?>
<div class="comments-area">
<?php comments_template(); ?>
</div>
<?php
endif;
I create a new single.php in the child theme folder, then copy the entire code Tom linked into it. Then I cut the line 28-43 out and place it in an element, correct?
Yes, that removes the comment section. However I can’t just copy paste that code in an element to make comments show somewhere else. What do I have to paste in the element?