- August 4, 2017 at 8:43 am #7483
Please give me an advice, whether there is a way, to add custom template for Posts?
I found following directory:
but when I’m adding my custom template to that directory, it doesn’t appear in admin panel, so that I cannot choose that.
Thank you!August 4, 2017 at 1:01 pm #7484
Thanks for posting.
Please, remember not to edit any files in the theme directory, the entire directory is overwritten during theme updates so it’s best to make changes, if required, in a child theme.
The easiest solution for adding page templates to posts is to use the following plugin: https://wordpress.org/plugins/custom-post-type-page-template/. Once installed and activated, go to
Settings > Custom Post Type Page Templateand activate the posts option. Then, edit any post and at the top in the right column you’ll be able to choose any of the theme’s page templates.
Hope that helps.August 4, 2017 at 3:55 pm #7485
Andrew, thank you.
It works!August 4, 2017 at 3:57 pm #7486
Awesome : ) Glad to hear that did the trick.
You must be logged in to reply to this topic.