- This topic has 3 replies, 2 voices, and was last updated 7 years, 3 months ago by Andrew Misplon.
- AuthorPosts
- August 4, 2017 at 8:43 am #7483
Custom CustomerParticipantHello !
Please give me an advice, whether there is a way, to add custom template for Posts?
I found following directory:
ultra/page-templatesbut 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
Andrew MisplonKeymasterHi 🙂
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 Template
and 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
Custom CustomerParticipantAndrew, thank you.
It works!August 4, 2017 at 3:57 pm #7486
Andrew MisplonKeymasterAwesome : ) Glad to hear that did the trick.
- AuthorPosts
You must be logged in to reply to this topic.