• 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

Education Pro: Move HOME MIDDLE to under the page content

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 › Design Tips and Tricks › Education Pro: Move HOME MIDDLE to under the page content

This topic is: not resolved

Tagged: education pro, home middle

  • This topic has 3 replies, 2 voices, and was last updated 8 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • August 27, 2015 at 2:23 am #163703
    ronnieb
    Member

    Hi,

    i would like to have the frontpage widget HOME MIDDLE to be positioned
    between the page content and HOME BOTTOM. Is this possible by changing
    some PHP?

    Thanks in advance!

    http://pro-deo-advocaten.com
    September 14, 2015 at 7:37 pm #165520
    Tom
    Participant

    In front-page.php, change this

    function education_home_top_widgets() {
    
    	genesis_widget_area( 'home-featured', array(
    		'before' => '<div class="home-featured widget-area">',
    		'after'  => '</div>',
    	) );
    
    	genesis_widget_area( 'home-top', array(
    		'before' => '<div class="home-top widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
    	) );
    
    	genesis_widget_area( 'home-middle', array(
    		'before' => '<div class="home-middle widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
    	) );
    
    }
    
    function education_home_bottom_widgets() {
    
    	genesis_widget_area( 'home-bottom', array(
    		'before' => '<div class="home-bottom widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
    	) );
    
    }

    to this:

    function education_home_top_widgets() {
    
    	genesis_widget_area( 'home-featured', array(
    		'before' => '<div class="home-featured widget-area">',
    		'after'  => '</div>',
    	) );
    
    	genesis_widget_area( 'home-top', array(
    		'before' => '<div class="home-top widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
    	) );
    
    }
    
    function education_home_bottom_widgets() {
    
    	genesis_widget_area( 'home-middle', array(
    		'before' => '<div class="home-middle widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
    	) );
    
    	genesis_widget_area( 'home-bottom', array(
    		'before' => '<div class="home-bottom widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
    	) );
    
    }

    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    September 15, 2015 at 3:02 am #165551
    ronnieb
    Member

    Hi Tom,

    thanks for your help. Only on my other site http://ingevorderd-rijbewijs.nl/ I do not have a featured widget or text widget. Then the middle widget still goes above the page content. Can this be solved as well?

    Thanks in advance for all your help,

    September 15, 2015 at 8:05 am #165570
    Tom
    Participant

    You're not using the Home-Middle widget area on the second site so what you want to do is unclear.
    (Noting that home-top and home-featured also not in use.)


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2023 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