Resolved

Custom Post Template

Ultra Theme started by Custom Customer Aug 4, 2017 3 replies
Custom Customer Aug 4, 2017 · 8:43 am #7483

Hello !

Please give me an advice, whether there is a way, to add custom template for Posts?

I found following directory:
ultra/page-templates

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!

Andrew Misplon Puro Aug 4, 2017 · 1:01 pm #7484

Hi 🙂

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.

Custom Customer Aug 4, 2017 · 3:55 pm #7485

Andrew, thank you.
It works!

Andrew Misplon Puro Aug 4, 2017 · 3:57 pm #7486

Awesome : ) Glad to hear that did the trick.

4 posts