Tagged: widget area
Hi,
I’ve just added a widget area in the header above the menu using this code:
add_action( ‘ava_main_header’, ‘enfold_customization_header_widget_area’ );
function enfold_customization_header_widget_area() {
echo dynamic_sidebar( ‘header’ );
}
It’s worked perfectly apart from a number 1 appearing randomly in the top left hand corner.
Can anyone tell me why it’s there and how to get rid of this?
Web Address here:aro.staging.jesscookdesign.co.uk
Hey,
Please use the code as following
add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
function enfold_customization_header_widget_area() {
dynamic_sidebar( 'header' );
}
Best regards,
Yigit
Thanks Yigit, works perfectly!
Hi,
I’m glad you were able to get this corrected. If you need additional help, please let us know hee in the forums.
Best regards,
Jordan Shannon