custom page or post template with custom widget areas in body

Community Forums Forums Design Tips and Tricks custom page or post template with custom widget areas in body

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  braddalton 11 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #77562

    jhguynn
    Participant
    Post count: 223

    I use Genesis Extender, and love the freedom it gives me to design a custom static homepage for any of my Genesis sites.

    I’m currently thinking through how to design a 5 page or so mini site, and I want all pages to be based on the same page template: right sidebar with a body area that is also widgetized in a way that I determine.

    Can someone please point me to a tutorial on how to do this? Brad Dalton – perhaps you?

    PS: The method doesn’t have to involve Genesis Extender, I mentioned that earlier only to describe what I’m after.

    #77574

    nutsandbolts
    Keymaster
    Post count: 3187

    You can actually do this pretty easily – once you decide what widget areas you want to use, you would just need to create a template that specifies the content/sidebar layout and calls the widget areas. It would be just like a home.php but with a different name, and you would select it from the template dropdown within the page editor.

    Here is a tutorial that explains in more detail: http://journalxtra.com/easyguides/how-to-create-genesis-page-template-widgets/


    Andrea Whitmer, Owner, Nuts and Bolts Media
    I provide dev and training services for web designers • Find me on Twitter and Google+

    #77706

    braddalton
    Participant
    Post count: 10598

    Here’s 2 templates with widgets:

    http://wpsites.net/web-design/flexible-responsive-widgets-template-for-genesis/

    http://wpsites.net/web-design/team-members-staff-authors-or-user-profile-page-template-for-genesis/

    You can remove the line of code which forces full width and removes the sidebar
    [php]
    add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_full_width_content’ );
    [/php]

    Another option would be to use a front-page.php or home.php template as a page template from any theme.


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.