Site logo

Archived topic

How to create different post template

7 replies · Started by Alessio Angeloro on January 13, 2016

Viewing posts 1–8 of 8

Hi Tom,

i have created a template child with some customization, now i would to create a different post layout for some post, i'have tried with "content-single-%mypostid%.php" but not working; also is it possibile to make this change for the page layout ?

Thansk so much
Regards

Hi there,

Hmm, did you find somewhere that told you to use this kind of file name?: content-single-%mypostid%.php

I can't find any information on using custom page templates for posts.

What do you mean by making the change for the page layout?

Let me know :)

I too would love to create different custom layouts for the different blog post formats. I've seen it before on other people's site's so I'm assuming there's a way to do it.

Would I create a custom page called
- content-single-aside.php
- content-single-quote.php
etc.?

I want to be able to have custom layouts for each of these format types.

I believe it should just be:

content-aside.php
content-quote.php

etc..

Thanks. Worked with a colleague and got it worked out.

Howevever, these are the only formats I see to choose from:
standard
aside
image
video
quote
link
status

Your example (I found in another post) referenced additional types:
gallery
audio
chat

Is there a way to enable the last 3?

I've since created a custom workaround to have (essentially) custom post types for the blog posts and created custom page templates but wondered but those last 3 weren't showing up in the format options.

Thanks!

This archived topic is closed to new replies.