• 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 Widget is Duplicated

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 › New Widget is Duplicated

This topic is: resolved

Tagged: widget

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 7 months ago by Susan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 30, 2016 at 12:56 pm #194014
    vivianwlove
    Participant

    Hi there, I created a new widget, but for some reason it's duplicated. Any ideas?

    I'm using the Modern Portfolio Pro theme.

    The website is below (It's the Let's Talk section): http://drewherrema.com/

    This is the php code:

    //Extra Widget Area
    function genesischild_footerwidgetheader() {
    	genesis_register_sidebar( array(
    	'id' => 'footerwidgetheader',
    	'name' => __( 'Footer Widget Header', 'genesis' ),
    	'description' => __( 'This is for the Footer Widget Headline', 'genesis' ),
    	) );
    }
    
    add_action ('widgets_init','genesischild_footerwidgetheader');
    
    //Position Widget Header
    function genesischild_footerwidgetheader_position ()  {
    	echo '<div class="footerwidgetheader-container"><div class="wrap">';
    	genesis_widget_area ('footerwidgetheader');
    	echo '</div></div>';
    }
    
    add_action ('genesis_before_footer','genesischild_footerwidgetheader_position');
    
    add_action ('genesis_before_footer','genesischild_footerwidgetheader_position', 5 );
    }
    October 1, 2016 at 7:37 pm #194083
    Susan
    Moderator

    I'm closing this, as you have marked it "Resolved". If you are still having an issue, please start a new thread. Thanks!

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘New Widget is Duplicated’ is closed to new 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