Site logo

Archived topic

How can I use the post template of info premium site single post for my CPT?

3 replies · Started by Jaume on March 2, 2023

Viewing posts 1–4 of 4

Hi,

I'm using the info premium design form my website. I created a custom post type and I'd love that the single posts use the same design as the posts in here https://gpsites.co/info/2022/10/26/expedita-voluptas-illo-officia-nihil-et/ (as I don't like the single.php template). I cannot find the php for this template and I don't know how to do it. How should I say to my CPT to go use the same template as the link?

Thanks.

Hi there,

the single post uses Block Elements for the Post Page Hero and the Right Sidebar
When viewing the page you can elements on that page listed in the Admin Bar > Elements menu. Or you can find all of them in Appearance > Elements.

For reference you can read more on block elements here

Ok so edit the 2 elements: Post Page Hero and the Right Sidebar and in their Display Rules > Location, add a new location and add your Custom Post Type.

Ok, it works! I was missing the Display Rules > Location. Thank you very much.

You're welcome

This archived topic is closed to new replies.