Some of the themes included in the BoldGrid Inspirations plugin, including GridOne, Hydra, Pavillion, and Swifty do not have the ability to enable comments on Pages. Most businesses do not want to have a public discussion on their marketing pages, so this feature was not included by default. However, some users may want to enable this feature. Follow these instructions to enable discussion on Pages.
Allow Comments On Individual Pages
- Navigate to Pages -> All Pages in your WordPress Dashboard.
- Hover over any page you’d like to enable comments for, and click Quick Edit.
- Check the box Allow Comments.
If the pages on which you allow comments do not show the comment box after this, proceed to the next step.
Add Custom Code or Plugin
- If you have the Code Snippets plugin, add a snippet with the following code:
- If you do not use Code Snippets, you can download this snippet and install it as a plugin. Click here to download the plugin.
- Navigate to Plugins -> Add New and click Upload at the top of the screen.
- Select the downloaded file, and click Install, and once it completes click Activate.
Congratulations! You will now be able to allow comments on your BoldGrid Pages.
SIGNUP FOR
BOLDGRID CENTRAL
200+ Design Templates + 1 Kick-ass SuperTheme
6 WordPress Plugins + 2 Essential Services
Everything you need to build and manage WordPress websites in one Central place.
Andy says:
Jesse,
The plugin broke when I upgraded to PHP 8.0
WordPress version 5.7
Current theme: Linx (version 1.25.7)
Current plugin: BoldGrid Page Comments (version 1.1.0)
PHP version 8.0.2
Fatal error: Uncaught Error: Undefined constant “bgtfw_enable_page_comments” in /home/apierce/niade.com/wp-content/plugins/2434adb1675999433d3a2179b2860d77-3e3001be125b417644105ffb6442f1eec9a91b63/boldgrid-page-comments.php:15 Stack trace: #0 /home/apierce/niade.com/wp-admin/includes/plugin.php(2300): include() #1 /home/apierce/niade.com/wp-admin/plugins.php(191): plugin_sandbox_scrape(‘2434adb16759994…’) #2 {main} thrown in /home/apierce/niade.com/wp-content/plugins/2434adb1675999433d3a2179b2860d77-3e3001be125b417644105ffb6442f1eec9a91b63/boldgrid-page-comments.php on line 15
Jesse says:
Hello Andy-
Thanks for the heads up! I’ve updated the code to include quotation marks around the function name on line 15. You can download the newest plugin zip from this link to continue using it with PHP 8.
Andy says:
Still not working for me:
Fatal error: Uncaught Error: Undefined constant “bgtfw_enable_page_comments” in /home/apierce/niade.com/wp-content/plugins/2434adb1675999433d3a2179b2860d77-a6298042d6f1553b1ab7fcc23b6786595bf27c2b/boldgrid-page-comments.php:31 Stack trace: #0 /home/apierce/niade.com/wp-admin/includes/plugin.php(2300): include() #1 /home/apierce/niade.com/wp-admin/plugins.php(191): plugin_sandbox_scrape(‘2434adb16759994…’) #2 {main} thrown in /home/apierce/niade.com/wp-content/plugins/2434adb1675999433d3a2179b2860d77-a6298042d6f1553b1ab7fcc23b6786595bf27c2b/boldgrid-page-comments.php on line 31
Jesse says:
Hi Andy-
Thanks again! I’m sorry I missed the second bug. Try this version now.
Andy says:
The new version is working now with PHP 8. Thanks Jesse!
Andy says:
Jesse,
I installed your snippet v 1.0.0 from the zip file, activated it, and ticked the ‘Allow Comments’ box under QUICK EDIT for some pages. Looking at page https:// [redacted] /current-setup/ for example, sure enough now there is a ‘Leave a Reply’ option, so I submitted a test comment, apparently successfully, but the comment does not appear on the page. If I look on Blog Post -> Comments the comment shows up, is listed for that page and is ‘approved’ but doesn’t appear anywhere on the page. I tried ‘Delete Cache’ but no help there. I’m running the Lynx template and I don’t see anything obviously problematic under Settings -> Discussion.
Any thoughts on how to get the comments to appear on the pages?
-Andy
Jesse says:
Hi Andy-
Thanks for the comment, you’re right there was an issue with displaying the comments. I’ve updated the code above as well as the plugin download. You should delete the existing plugin, and re-install the new version.
Andy says:
Right, that’s got it working now. Thanks Jesse.
Noor says:
I have used the plugin and thankfully the comment box is showing on the page, but I can’t add any comments to it ,even though I am logged in.
Jesse says:
Hello Noor-
It sounds like you may have comment moderation enabled, which will leave all your comments as “Pending” until you go in and approve them in your Comments menu. You can change this in the Settings -> Discussion menu.
Jennifer says:
I used the plugin linked here but now the comment field is not formatted to fit my page. The appearance is not attractive and takes away from my site. How can I change the appearance?
Jesse says:
Hello Jennifer-
Thanks for reaching out, I took some time to update the plugin to fit better into pages and fix a bug. You should delete the plugin you have now, and reinstall the new one fresh. If there’s further modifications you’d like to make, you might check out how to remove the “Allowed Tags” section or let us know in the Support Forums if there are specific modifications to the look you’d like for your site, so we can assist you with some custom CSS.