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

 Removing the Comments from the Business Page Template

Back to User Guides

After you've created your own template for the CM Business Directory Page (click here to check  How to Create own Template) you can decide to remove the comments section completely.

To do this 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

Back to User Guides


More information about the CM Business Directory WordPress  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.