CM Business Directory / Video Lessons - Creating Custom Page Theme
Creating Custom Business Page Template
With CM Business Directory, you can create custom templates for the Business Page.
How to Install a Custom Template
Navigate to the WordPress page directory → wp_content → plugins → cm-business-directory-pro → frontend → template and copy cm_default folder.
Go to the wp_content → themes folder, find current theme folder and paste copied cm_default folder into CMBD folder. The path should looks like this:. Rename the template from cm_default to anything you like (eg. custom_template)/
Navigate to the Admin Dashboard → CM Business Directory → Settings.
Click on the Business Page tab.
After creating your own template and creating a directory for it, the directory name will appear in the dropbox selection. Each template needs to include several files and follow the directory structure as the default template.
Choose template and update settings.
Video Lessons Template
If you also use our Video WordPress LMS Plugin, it's possible to apply its theme in the selection.
It will be located under the folder cm-video-lesson-manager-pro/view/frontend/cm_default.
After copying the files and creating a new template you will probably need to customize it to suit your needs.
To customize template open files you copied to the current theme folder → CMBD
The main file with content you should edit is the business-page-content.phtml located in the views/ folder.
It this file you can add/remove move around the shortcodes.
You can find the list of the additional shortcodes on the plugin's Settings page.
Below: The screenshot from the settings page displaying the shortcodes you can use in the custom theme.