Tagged: comments
Hi,
If you’re not using the Advance Layout Editor(ALE), open page.php then find this code:
$avia_config['size'] = avia_layout_class( 'main' , false) == 'entry_without_sidebar' ? '' : 'entry_with_sidebar';
get_template_part( 'includes/loop', 'page' );
Below, add this code:
//wordpress function that loads the comments template "comments.php"
comments_template( '/includes/comments.php');
If you’re using the ALE to build the page, edit template-builder.php then find this code
echo $content;
Below, add the comment code again:
//wordpress function that loads the comments template "comments.php"
comments_template( '/includes/comments.php');
Regards,
Ismael
I am using the ALE and when I added this, it took down my whole site and said server error. When I remove that line of code, everything is just fine.
Hi indy1003,
It was a missed / in Ismaels original code which I’ve now corrected. So give it a try now:
//wordpress function that loads the comments template "comments.php"
comments_template( '/includes/comments.php');
Regards,
Devin