Skip Navigation

[Resolved] theme layout

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 5 replies, has 2 voices.

Last updated by francescoG 1 year, 9 months ago.

Author
Posts
#2558075
homepage post archive.jpg
homepage single post child.png
homepage header.jpg
homepage single post parent.png
homepage post grid search.png

I'm working with Astra theme.
I create two custom post type with one to many relationship.
I display grid view of parent post in static home page of astra theme.
I created a custom template for parent single post and child single post
When I click on the link to display singol parent post I see the post with the correct content template (as I implemented) but the theme layout is different then homepage. I think that for the homepage I'm using a specific php (probably index.php) but for post I'm using another (probabbly single.php).
What I have to do to have same layout (header, footer, color)? Could I do it without change php page or I have to change it?
Thanks

#2558137

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2023-02-20 at 15.33.58.png

Hi there

Are you using the Astra theme options to modify the theme settings on posts that use your content templates?

#2558151
Immagine3.jpg

yes I do

#2558175

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Have you tried changing any of the settings to the values you require?

(The theme settings for posts are likely to be different to the theme settings for pages, e.g. whether a sidebar is shown, and you can override them here.)

#2558187

yes, I solved. I didn't understande how wordpress theme work.
I changed the settings in content template to remove sidebar and I changed the single post layout in theme customize section
Thank you very much

#2558193

My issue is resolved now. Thank you!