Reply To: Add fixed content above header

Homepage Community Forums Aspire Theme Support Add fixed content above header Reply To: Add fixed content above header

#22938
Scott Gilbert
Customer

    Thanks Wes. I was unable to get the widget set up because I do not know what my widget area ID is. I am technical enough to add the code and figure out some things, but I’ve been struggling trying to figure out how to find or make a widget area ID.

    I am not sure, but I am assuming the widget area ID is the name of the widget, which I expect would show up under “Appearance > Widgets” as an available widget once I create/define it.

    Can you shed some light on this?

    Thanks,
    Scott

    —- These are the instructions you sent me to —-

    Example 2: add an extra widget area above the site header. Just replace before-header with your widget area ID.

    <?php
    // Paste the code BELOW this line into your child theme functions.

    /**
    * Add a widget area before the site header with Genesis
    *
    * @author Reasons to Use Genesis
    * @link http://reasonstousegenesis.com/before-header/
    */
    add_action( ‘genesis_before_header’, ‘rtug_before_header_widget_area’ );
    function rtug_before_header_widget_area() {

    genesis_widget_area( ‘before-header’ ); // replace before-header with your widget area ID

    }


    Learn to Make Money Online
    http://ScottsMoneyMachines.com