All of the post template files are called using the same get_template_part function that allows the to be overridden via a child - I've just tested with that specific file locally to verify it can be done. The correct path would be as you mentioned in your second attempt:
I am trying to edit a partial in the theme to change the layout of the blog. The file I want to edit is:
wp-content/themes/salient/includes/partials/blog/styles/masonry-material/entry.php
How do I add that file to the child theme in order to have it properly use THAT file?
Thanks!
Figured it out. I just added that path to the child theme folder.
Hello jjmancini,
I'm trying to achieve the same thing for this file
salient/includes/partials/blog/styles/standard-featured-img-left/entry.php
but when I create the same path in my child theme it's not taken into account
salient-child/partials/blog/styles/standard-featured-img-left/entry.php
I also tried
salient-child/includes/partials/blog/styles/standard-featured-img-left/entry.php
I have already done this successfully for the header partials file, but for this blog template it doesn't work.
Any ideas why?
Thanks!
Hello There,
Please allow me to escalate this to the developer to respond further.
Thanks.
Hey billialan,
All of the post template files are called using the same get_template_part function that allows the to be overridden via a child - I've just tested with that specific file locally to verify it can be done. The correct path would be as you mentioned in your second attempt:
Can you please open your own ticket in regards along with your own site URL/Theme version so that we can take a closer look for you?
Kind regards,
Hello,
thanks for your help, when trying with this path I've managed to override the template.