Tagged: advanced-layout-editor, enfold
My comments on Pages created using the Advanced Layout Editor keep showing in the header instead of after the content.
To get comments to work on Pages I placed the following code
//wordpress function that loads the comments template “comments.php”
comments_template( ‘/includes/comments.php’);
on loop-page.php just after
<?php
$thumb = get_the_post_thumbnail(get_the_ID(), $avia_config[‘size’]);
if($thumb) echo “<div class=’page-thumb’>{$thumb}</div>”;
//display the actual post content
the_content(__(‘Read more’,’avia_framework’).'<span class=”more-link-arrow”> →</span>’);
It was working fine on my test pages made with Visual Composer and Advanced Layout Editor whether I had Disqus turned on or not, but tonight it started putting the comment area into the header for pages made with the Advanced Layout Editor. Am really baffled on this and can’t understand why it would move the comments location
Hi!
Upload a fresh copy of the theme with no customizations and then take a screenshot and highlight exactly what your trying to do so we can get a better idea.
Best regards,
Elliott
Elliot,
Thanks, I was able to fix the problem by using a child theme and putting the comments at the bottom of the page loop php.
Was using a 3rd party plug in for Disqus but have it working great on my travel website using Enfold http://www.bigboytravel.com/europe/austria/salzburg/soundofmusicfilmlocations