You appear to be a bot. Output may be restricted
Description
Usage
bw_dynamic_sidebar( $name );
Parameters
- $name
- ( mixed ) required –
Returns
voidSource
File name: oik-sidebar/oik-sidebar.phpLines:
1 to 36 of 36
function bw_dynamic_sidebar( $name ) { global $art_widget_args, $art_sidebars, $theme_sidebars; // Add Widget Wrangler sidebars: _before and _after // Note: We believe that dynamic_sidebar exists as this was pre-requisite to calling this routine // but we can't be sure that widget wrangler is activated so don't call it if it's not. $wwsb = function_exists( 'ww_dynamic_sidebar' ); //bw_trace( $wwsb, __FUNCTION__, __LINE__, __FILE__, 'wwsb' ); //bw_trace( $name, __FUNCTION__, __LINE__, __FILE__, 'name' ); if ( $wwsb ) { $success_b = ww_dynamic_sidebar($name.'_before'); //bw_trace( $success_b, __FUNCTION__, __LINE__, __FILE__ ); } // Note: As of Artisteer version v3.0.0.39952 the global variable is called $theme_sidebars not $art_sidebars // use $theme_sidebars if theme_include_lib is defined // in previous versions the function was art_include_lib if ( function_exists( 'theme_include_lib' )) $success = dynamic_sidebar($theme_sidebars[$name]['id']); else $success = dynamic_sidebar($art_sidebars[$name]['id']); if ( $wwsb ) { $success_a = ww_dynamic_sidebar($name.'_after'); bw_trace( $success_a, __FUNCTION__, __LINE__, __FILE__ ); } return( $success ); }