WordPress.org

Ready to get started?Download WordPress

Forums

Help Adding a Widget Area to Genesis Magazine Child Theme Header (4 posts)

  1. webdesignerwp
    Member
    Posted 1 year ago #

    Good Evening,

    I'm attempting to customize the Genesis Magazine Child Theme. Having never worked with the Genesis framework before, I'm finding this quite challenging. The test site is located here:
    http://greenhousegraphix.com/crunchy/

    What I'm trying to do is add a widget to the top left corner to house the logo. I'm using a widget because there will be 4 logos, one for each season, and I thought this would be an easy way for the user to change them.

    Here's what I've done.
    1. duplicated lib/structure/header.php from the genesis folder and placed into the magazine folder. (I assumed I had to keep this same structure)
    2. I changed line 847-851 to:

    function genesis_do_header() {
    
    	echo '<div id="title-area">';
    	dynamic_sidebar( 'logo' );
    	echo '</div><!-- end #title-area -->';

    3. I added to functions.php:

    genesis_register_sidebar( array(
    	'id'				=> 'logo',
    	'name'			=> __( 'logo', 'magazine' ),
    	'description'	=> __( 'This is the logo.', 'magazine' ),
    ) );

    I'm sure I've done something wrong, any insight would be appreciated.
    Thanks.

  2. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

    You can contact StudioPress for queries regarding their themes.

  3. webdesignerwp
    Member
    Posted 1 year ago #

    Thank you for your suggestion, but I don't have an account with Studiopress. I am customizing a theme for an existing site that was built on the Genesis Framework, not a new install.

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Unfortunately, these forums don't support commercial themes, partly because we don't have access to the theme code, etc. Some of us here probably know less than you do :)!

Topic Closed

This topic has been closed to new replies.

About this Topic