This DIY tutorial provides instructions on how to allow user comments at the bottom of your website pages (such as an “About us” page), but not on all pages (such as the homepage).

page-comment-options-for-Wordpress-using-Avada-theme

Comments are automatically enabled on blog posts, but they are automatically disabled on website pages (Posts are for blogging and Pages are for other, generally static, destinations on your website. Follow this link for a more detailed description).

In most cases, comments on website pages are not welcome, the place for conversations and feedback is on blog posts. That said, you may have a need for enabling comments on a page, but not on all pages.

On TheConnectedSmallBusiness.com, I want to allow users to leave comments on the DIY Tutorial page, so that I can receive suggestions for new tutorial topics. While I could encourage people to use my contact form page, I hope that if readers can leave comments that everyone can see, it will encourage further comments. That said, I do not want comments on any other pages, in particular not on our homepage.

This tutorial assumes you will be using WordPress and the Avada theme as outlined in a previous DIY tutorial.

1. Enabling comments on pages is a global setting for your website. Go to “Appearance”, “Theme Options”, “Extra Options”, then scroll to the “Allow Comments on Pages” section and tick the box. Now every page will have a comment box at the bottom. Easy!

page-comment-options-for-Wordpress-using-Avada-theme-1

2. To remove comments from a page, go to the edit view for a page, and then make sure the “Allow Comments” and “Allow Trackbacks and Pingbacks” are unticked in the “Discussion” options (Trackbacks and Pingbacks are a type of comments that allow you to know if someone has linked to your page, read more here, if interested).

page-comment-options-for-Wordpress-using-Avada-theme-2

If the “Discussion” options are not visible, then go to the top of the page and click on “Screen Options”, this will provide a view of options that can be made visible.

page-comment-options-for-Wordpress-using-Avada-theme-3

Tick the “Discussion” option to make the field visible.

page-comment-options-for-Wordpress-using-Avada-theme-4

3. The previous step will prevent comments on the pages you edit, but it will leave a “Comments are closed” statement. I want to remove this, as it looks strange on a homepage for example (i.e. why are comments closed, why were comments even allowed in the first place?). To remove the words “Comments are closed” follow to the next step.

WordPress-comments-are-closed

5. “Comments are closed” words can be removed from Pages with comments disabled, but you need to edit the theme. This may seem a bit daunting, but it only needs to be done once, and it will remove all future “Comments are closed” words. Go to “Appearance”, “Editor”, then scroll down through the “Templates” and select “comments.php” (“comments.php” is out of view on the below image, I had to scroll down till it was visible for selection). This will change the main view to display “Avada: Comments (comments.php)”. Scroll in the main view and then delete the text highlighted in blue. The removed removed text was responsible for generating the “Comments are closed” words.

WordPress-comments-are-closed-2

After deleting the text your view should look like the below (I’ve highlighted where the text used to be). Removing the blank row is no important.

WordPress-comments-are-closed-3

6. Update the file to save the change of removing text from the theme.
WordPress-comments-are-closed-4

7. Now we are finished. As default all pages will have a comments field at the bottom, and if you choose to disable comments on a Page, they will be completely removed.
page-comment-options-for-Wordpress-using-Avada-theme