- This topic has 8 replies, 3 voices, and was last updated 8 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.
I searched the forum but could not find the code.
I would like to make a new custom layout in my child theme - 2 equal columns, content above.
Does anyone know of the php/css source code for this?
Thanks for the link - but there isn't any code there, just an explanation of what can be done.
Maybe I missed something?
This one is pretty helpful for gaining and understanding of layout options and how to create them:
Thanks Ren - I tried to get that working for an hour, followed directions exactly, it didn't work. Left side showed 2 lines, center worked. It didn't say where to place sidebar.php files, I placed them in Genesis folder where the other .php files were (such as header.php) then child folder, still didn't work. Wonder if it's due to the older version (that was 2 years ago).
Looking at Brad's page it has the steps that seem easier, just no code.
It looks like Brad's tutorial code is only available to paid members. If you want access, you'd need to register on his site.
If you're comfortable enough with PHP, you could try something like:
1. Register the layout
2. Create a template that appends sidebars to the end of the content
3. Use the template_redirect action for when your layout is selected
4. Style the sidebars
Note that I have not tried this and there may be a better way to do it.
Thanks but it's beyond my skill right now. I followed the
Can't justify paying $67 for a piece of code on the WPsites.net site - didn't realize they allow sales solicitations here - haven't seen that before on other boards. There should be full disclosure they are selling items. Oh well.
I'll keep looking, hopefully something will pop up.
I got some time to test out my idea and it did work (although I used template_include rather than template_redirect). I wrote up a post with code and instructions. It's a basic example that you can customize however you need. Here you go:
That's great - I will follow the steps and code. Will also make a payment on your site - a few hot chocolates :/
© 2023 WPEngine, Inc.