- This topic has 4 replies, 4 voices, and was last updated 8 years, 7 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.
I wish to create a custom page template - the ideal page would be similar to the demo 'Columns' page template.
i.e. just a simple full width (no sidebar) text page
I have downloaded the theme several times and I do not see any 'columns' page templates.
- just 'front-page.php' and 'page_landing.php'
Can you advise which one - is the one - I use to start my custom page template?
If you only need to remove the sidebar on a page, post or archive view, you don't need a page template. Just select "full width" on the page edit screen.
Offering customization work for FREE – Read more
Could you achieve the results you want by changing the Layout Settings to no-sidebar for that specific page?
Here's a little secret. Unfortunately, it requires some manual work. The Studiopress theme demos have a columns page. This is actually a regular page - no special template, although you can set your page to be full-width first if you want.
To get columns, you use HTML and some classes in your Post content. Here is a very quick example:
<div class="one-half first"> <p>First column text here.</p> </div> <div class="one-half"> <p>Second column text here.</p> </div>
The other column formats are done similarly. You'll need to read your stylesheet for details. Appearance.... Edit, and search for "columns". The "first" bit helps your columns to not be "invaded" by content preceding the columns.
I hope that helps a bit. Sorry not to have a magic answer for you. Yes, this could be managed using a custom template, but that would require some significant Genesis and PHP expertise, maybe using a grid-like structure via CSS and then probably custom fields or the like to fill in the columns.
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
© 2023 WPEngine, Inc.