How to add comments on pages

Posted in: Newspaper
Post count: 2

Hi guys!

I know that this is something that some people have asked before. I want to add comments on some pages (which I’ve used Visual Composer) and have done this: https://forum.tagdiv.com/topic/enable-comments-in-pages-w-page-builder/#post-59342 copying and pasting the code:

<?php
if($td_enable_or_disable_page_comments == ‘show_comments’) {
comments_template(”, true);
}?>

but it still doesn’t working.

Any ideas? Thanks for advance!

Alex

Post count: 22421

Hello Alex,

Please double check your modification, you might have missed something. I tested this at my end and it works.
Make sure you place your code in the right section of the file.
You also have to check some settings for comments to work. There are 2 settings in the theme panel you have to activate:
1) post comments (page comments do not work if post comments are deactivated) http://screencast.com/t/ecIldmOm
2) page comments: http://screencast.com/t/AoGZFQjqlfC
3) discussion settings: uncheck: http://screencast.com/t/5RXDPrf7xhY
4) discussion settings from page edit: http://screencast.com/t/xRBACE9Tjh

If all of these conditions are met the comments should appear on your page.

Thank you!

Post count: 2

Great! It works now! I missed point #2

Thanks!

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