Enable comments in Pages (w/ Page Builder)?

Posted in: Newspaper
Post count: 14

Hey guys. I’ve recently updated to version 6.2 and I’m having a problem with a certain type of pages.
If I use Visual Composer to add things, comments no longer load on pages – even if they load as usual if I don’t and I stick to usual Worpress stuff.
Is there a way to resolve this? I really need tabs and a lot of other stuff in my comments enabled pages. I skimmed through the code on page-pagebuilder-title.php but I couldn’t find a way to do it on my own.

Thank you!

Post count: 7909

Hi,

Unfortunately comments for pages were not been designed to appear when pagebuilder is used. If you want to display comments even you use pagebuilder you need to add it also here – http://screencast.com/t/8wyo4gWTpQFhttp://screencast.com/t/vXNwR9Ral
If you want to make this change only for “pagebuilder with title” template you need to copy this from default template – http://screencast.com/t/YnVaxvIpDK3m and also comments code – http://screencast.com/t/yYpqkMPA2R

//get theme panel variable for page comments side wide
$td_enable_or_disable_page_comments = td_util::get_option('tds_disable_comments_pages');

if($td_enable_or_disable_page_comments == 'show_comments') {
comments_template('', true);
}

Result: http://screencast.com/t/kXJDsvKwK22

Hope this helps!

Post count: 14

Awesome!
It solved it. Thank you, Alin.

Post count: 14

Hey, one more thing.
I don’t want comments in every single page or in the homepage.
So I un-ticked the “allow comments” thing in pages, but it still displays an empty “No Comments” section at the end: https://i.imgur.com/RaQJbcX.jpg

Is there a way to delete it? I use Disqus for comments so I don’t need the bar at all.

Thanks.

Post count: 7909

Hi,

Please check this topic – https://forum.tagdiv.com/topic/remove-no-comments-label/

Thanks!

Post count: 14

Excellent!
Thank you for all your help.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.