-
hey ,
in the widget area i drag a widget to the header ,
everything is ok but when i enter to my site i dont see nothing .the widget area in the header doesnt work
Can you share a link to this website? Have you added the widget to Before Header or Header widget arwa?
i upload to you 2 images
Attachments:
You must be logged in to view attached files.There seems to be a bug there. Will look into this now and apply an update tomorrow. Stay tuned.
Found a bug, which is not related to theme itself, but rather a parent Bizznis framework. Inside file
bizznis/lib/frontend/header.php
, line 265, you only need to add global variableglobal $wp_registered_sidebars;
and it will work. Function should look like this:function bizznis_header_widget_area() { global $wp_registered_sidebars; if ( ( isset( $wp_registered_sidebars['header-aside'] ) && is_active_sidebar( 'header-aside' ) ) || has_action( 'bizznis_header_aside' ) ) { printf( '<aside %s>', bizznis_attr( 'header-aside-area', array( 'class' => 'header-aside-area widget-area' ) ) ); do_action( 'bizznis_header_aside' ); add_filter( 'wp_nav_menu_args', 'bizznis_header_menu_args' ); add_filter( 'wp_nav_menu', 'bizznis_header_menu_wrap' ); dynamic_sidebar( 'header-aside' ); remove_filter( 'wp_nav_menu_args', 'bizznis_header_menu_args' ); remove_filter( 'wp_nav_menu', 'bizznis_header_menu_wrap' ); echo '</aside>'; #close .aside-area } }
This will be corrected with next Bizznis theme update. But, as those take some time to be processed, you can correct this manually. If you need more help and assistance, let me know.
You must be logged in to reply to this topic.