• Skip to primary navigation
  • Skip to main content

BookingWP™

WordPress Appointment Booking Plugins for WooCommerce

  • Get Appointments
  • Contact
  • My Account

cant active header widget

Home › Forums › Deprecated › Taverna

Log in
  • David Davidyan
    Customer
    10 years, 1 month ago

    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

    Zeljan Topic
    Support
    10 years, 1 month ago

    Can you share a link to this website? Have you added the widget to Before Header or Header widget arwa?

    David Davidyan
    Customer
    10 years, 1 month ago

    i upload to you 2 images

    Attachments:
    You must be logged in to view attached files.
    David Davidyan
    Customer
    10 years, 1 month ago
    This reply has been marked as private.
    Zeljan Topic
    Support
    10 years, 1 month ago

    There seems to be a bug there. Will look into this now and apply an update tomorrow. Stay tuned.

    David Davidyan
    Customer
    10 years, 1 month ago

    thank you, notice me please

    Zeljan Topic
    Support
    10 years, 1 month ago

    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 variable global $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.

    David Davidyan
    Customer
    10 years, 1 month ago

    thank you
    its work !

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Follow @bookingwp 900+ followers

  • About
  • Blog
  • Support
  • Terms
  • Privacy

© BookingWP™