Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #793734

    Hello,
    I am looking to add a widget to the extra header above the main header area. It is for the Transposh language toggle. I have the widget set up. I found some code for adding it to the main header, but I’d like it in the extra header above.

    Can you please help?

    Thanks

    #793738

    Hey jonnycuest,

    Please check this in our documentation: http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/ :)

    Best regards,
    Nikko

    #793739

    Hi Nikko,
    I did look at this. Both of these codes add the widget to the header. I am trying to add it to the extra header option above the header where the social media icons are on the left and extra info (like phone number) are on the right. I’d like to add the widget to the center.

    Thanks

    #793743

    Hi,

    Could you post a link to the site in question so that we can take a closer look please?

    Best regards,
    Rikard

    #793745

    Hi Rikard,
    No problem. The link is below in the private content. I am looking to place the widget at the very top in the small bar between the social media icons and the phone number area.

    Thanks

    #793886

    Hi jonnycuest,

    This is the action that you need – “avia_meta_header”. You can do the same as here http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/, just for a different action and apply different styles.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #794167

    Hi Victoria,

    Thanks for the info. I added the following to my functions.php file:

    add_action( ‘avia_meta_header’, ‘enfold_customization_header_widget_area’ );
    function enfold_customization_header_widget_area() {
    dynamic_sidebar( ‘header’ );
    }

    I am not seeing the requested widget showing.

    Any idea why?

    Thanks

    #794225

    I am noticing that within the header.php file there isn’t an existing entry for do_action(‘avia_meta_header’);

    Could this be the issue?

    #794266

    Hi Victoria,
    I actually found a work around using a plug-in that allows for shortcode entries in menus. I just added a menu to the top extra header and added the shortcode for the plug-in I wanted to add.

    For anyone looking for an easy solutions to add the translator plugin Transposh to their extra top menu, using the plugin Shortcodes in Menus and utilizing the shortcodes from Transposh (or any other plugin with a shortcode) within the secondary menu section.

    Thanks!

    #794428

    Hi,

    glad you found a solution and thanks for sharing!

    Best regards,
    Andy

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Extra Header – Add Widget’ is closed to new replies.