Education Child Theme Widget Issues

Community Forums Forums Design Tips and Tricks Education Child Theme Widget Issues

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Susan 4 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #93407

    JohnsonMktg
    Member
    Post count: 7

    I’m having an issue with the Education theme when attempting to use widgets on the home page instead of recent posts……. I’ve registered an extra widget in the functions.php file using:

    genesis_register_sidebar( array(
    	'id'			=> 	'close',
    	'name'			=>	__( 'Close', 'education' ),
    	'description'	=>	__( 'This is the close section displayed below the call to action banner.', 'education' ),
    
    ) );

    and then added the widget hook to the home.php file as follows:

    /** Add the home close section */
    add_action( 'genesis_before_loop', 'education_close' );
    function education_close() {
    
        /** Do nothing on page 2 or greater */
        if ( get_query_var( 'paged' ) >= 2 )
            return;
    
        genesis_widget_area( 'close', array(
        'before' => '
    ',
        ) );
    
    }

    however, no matter where i put the code to the home.php it shoves my sidebars underneath…. so any help would definitely be appreciated

    http://www.johnsonmarketing.net/demo/westvolusiaregionalchamber
    #100821

    Susan
    Moderator
    Post count: 8589

    As you posted this a while ago, I hope your issue has been resolved. If not, please check back in here, and I will troubleshoot (or escalate) as appropriate.

    If your issue has been resolved, please mark it “resolved”, so that it can be closed.

    Thanks!


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

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

You must be logged in to reply to this topic.