Instructions that I can find say to put the theme file into vc_templates in the child theme folder, but that doesn't seem to work. Where should I be putting the theme files for post template overrides?
Could you check the folder structure on local set up, not in the code editor but on the actual file system to make sure the folder is at salient_child \ vc_templates \
Thats the only thing we can think of as the cause of the issue.
The vc-templates directory is only used for overriding page builder element template files i.e. files from /wp-content/plugins/salient-core/includes/vc_templates.
If you're just trying to override regular theme templates, you can do so by copying the existing file structure of the parent theme to the child theme. In the case of "post-header-no-img-regular.php", the structure you should create in your child theme would be salient-child/includes/partials/single-post/post-header-no-img-regular.php
Instructions that I can find say to put the theme file into vc_templates in the child theme folder, but that doesn't seem to work. Where should I be putting the theme files for post template overrides?
Hi there,
Thanks for writing to us.
Please refer to this guide https://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/
Could you check the folder structure on local set up, not in the code editor but on the actual file system to make sure the folder is at salient_child \ vc_templates \
Thats the only thing we can think of as the cause of the issue.
Let us know how that goes.
Sure thing. See the attached.
Attached files: Screen Shot 2024-02-02 at 8.47.16 AM.png
Hello there,
Thanks for writing back.
Please allow me to escalate this to the developer to assist better.
In the meantime, I request for your patience and understanding.
Hey guruscotty,
The vc-templates directory is only used for overriding page builder element template files i.e. files from /wp-content/plugins/salient-core/includes/vc_templates.
If you're just trying to override regular theme templates, you can do so by copying the existing file structure of the parent theme to the child theme. In the case of "post-header-no-img-regular.php", the structure you should create in your child theme would be salient-child/includes/partials/single-post/post-header-no-img-regular.php
Kind regards
Thank you. I missed the "includes" directory. Thank you so much for your help!
We can close this ticket.
Hi there,
You're welcome.
I'm happy that we could assist you! If you haven't already, please consider sharing your experience by leaving a review on ThemeForest.
Your feedback is valuable to us and greatly appreciated!