Hi Rasel,
Sorry for any confusion here!
As the docs indicate here:
https://docs.businessdirectoryplugin.com/themes/customization.html#how-to-implement-a-template-override
This is the proper way to do a template override:
1) Locate the template you want to override. It can be a template from the core plugin (business-directory-plugin/core/templates), from a premium module or a Business Directory theme (theme templates are under wp-content/businessdirectory-themes/<active theme>/templates/).
2) Copy the template to your active WordPress theme directory under the business-directory subfolder. You might need to create this folder. The final file should be located at wp-content/themes/<active WP theme>/business-directory/<template name>.tpl.php.
3) Use the copied version of the template to have a grasp of how the Business Directory functionality works inside the template.
4) Use your theme’s file and the BD default’s to build your own definitive template. Read the subsection in Core templates and variables that applies to the template you’re overriding. This gives you information about the PHP variables and methods that are available inside the template.
5) Test your changes. If you have a lot of trouble, remember that you can just remove the file from your theme folder or copy the Business Directory Plugin original template verbatim and start over again.
Example.
Let’s assume that you wnat to change how the “single” listing view looks like. As per the documentation below, you’ll find that the template is called single.tpl.php and it is located in business-directory-plugin/core/templates/single.tpl.php. Assuming your current WordPress theme is “Twenty Fifteen”, you should copy this file to wp-content/themes/twentyfifteen/business-directory/single.tpl.php and make your changes here. ?
Does that make more sense?
In your case, can you tell me the specifics of:
– What template you’re overriding
– What is the full path you’re using to put it under?
– What is the name of your theme?
– Did you create the required directory as noted above?
Knowing that, we can probably pinpoint the issue. Please let me know.