• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

New Custom Layout – code

Welcome!

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.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › New Custom Layout – code

This topic is: not resolved

Tagged: column layout, custom layout, new template

  • This topic has 8 replies, 3 voices, and was last updated 10 years, 6 months ago by tussle.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • December 17, 2014 at 10:04 am #134754
    tussle
    Member

    Hello
    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

    December 18, 2014 at 1:11 am #134790
    Brad Dalton
    Participant

    Try this http://wpsites.net/web-design/flexible-custom-layouts-for-studiopress-themes/


    Tutorials for StudioPress Themes.

    December 18, 2014 at 8:17 am #134802
    tussle
    Member

    Thanks for the link - but there isn't any code there, just an explanation of what can be done.

    Maybe I missed something?

    Thanks

    December 18, 2014 at 11:28 am #134810
    Ren Ventura
    Member

    This one is pretty helpful for gaining and understanding of layout options and how to create them:

    http://genesistutorials.com/understanding-genesis-layout-options/


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 18, 2014 at 1:05 pm #134818
    tussle
    Member

    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.

    December 18, 2014 at 2:45 pm #134844
    Ren Ventura
    Member

    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.


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 18, 2014 at 10:00 pm #134870
    tussle
    Member

    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.

    December 20, 2014 at 8:16 pm #134980
    Ren Ventura
    Member

    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:

    http://www.engagewp.com/create-custom-genesis-layouts/


    Web & Software Developer & Blogger | RenVentura.com | Follow Me on Twitter @CLE_Ren

    December 22, 2014 at 12:45 pm #135070
    tussle
    Member

    Thanks Ren!
    That's great - I will follow the steps and code. Will also make a payment on your site - a few hot chocolates :/

    Thanks.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble