![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
-
AuthorPosts
-
May 16, 2017 at 7:02 am #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
May 16, 2017 at 7:10 am #793738Hey jonnycuest,
Please check this in our documentation: http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/ :)
Best regards,
NikkoMay 16, 2017 at 7:11 am #793739Hi 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
May 16, 2017 at 7:28 am #793743Hi,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
RikardMay 16, 2017 at 7:29 am #793745Hi 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
May 16, 2017 at 1:07 pm #793886Hi 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,
VictoriaMay 16, 2017 at 5:39 pm #794167Hi 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
May 16, 2017 at 6:15 pm #794225I 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?
May 16, 2017 at 6:40 pm #794266Hi 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!
May 16, 2017 at 8:33 pm #794428Hi,
glad you found a solution and thanks for sharing!
Best regards,
Andy -
AuthorPosts
- The topic ‘Extra Header – Add Widget’ is closed to new replies.