Business Directory Plugin (CMBD) - Removing the comments section from the Business Page



Removing the Comments from the Business Page Template

Back to User Guides

In Business Directory plugin you can completely remove the comments section from business pages.

After you've created your own template for the business directory page (click here to check How to Create own Template), you need to do the following:

  • Go to: /wp-content/themes/_your_theme_/CMBD/_your_template_name_/views
  • Open file: business-page-content.phtml (in any text editor)
  • remove this line: <?php comments_template( '', true ); ?> at the bottom of the file.
  • Save the file

Below: You need to remove the selected fragment of the code to completely get rid of the comments on all of your Business Pages

Removing the Comments module from business pages - WordPress Business Directory
Removing the Comments module from business pages

More information about the WordPress Business Directory Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.