- This topic has 3 replies, 3 voices, and was last updated 6 years, 11 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Hi there. This may sound a little strange but what I'm trying to do is to have 1 WordPress install but show 5 different StudioPress theme homepages as "demos". I'd like to show all the various home pages but keep it all on one website.
I'm thinking this is possible by setting up some custom pages but just need a map or guide to follow as I've never done that.
Thank you very much.
I am interested in the response to this post. I would like to have one website with another of a different template contained inside of it.
Principal, Call Toni Graphics and Web
you are on the right track.
You have to take the code from the front-page.php files of the themes and create page templates in the child theme you are using.
(You probably want to add a unique custom body class to the individual pages to make the css easier to manage.)
The themes are registering the widget areas in functions.php.
You have to copy that code over to the functions.php of the theme you are using.
Make sure that the ids are unique (and change them in the page templates accordingly).
That being said, I would rename the widget areas according to the page template name.
It gets complicated to have 6 front-page-1 widget areas, etc... in the admin 😉
Depending on the theme, you will have a style-front.css and a style.css or only a style.css
You have to find and copy the CSS for the widget areas into the style.css of the theme you are using.
You should prefix the styles with a unique body class (otherwise all the .front-page-1 classes will clash...)
Wonderful! This is just the help I needed. Thank you so very much. I really appreciate the help.
© 2023 WPEngine, Inc.