\n"; aweaver_clear_both( 'colophon' ); } } // end if !hide_footer do_action( 'aweaverplus_action', 'footer' ); echo "
\n"; aweaver_inject_area( 'postfooter' ); // and this is the end options insertion do_action( 'aweaverplus_action', 'postfooter' ); echo "\n
\n"; if ( ! ( $content_h_ff = aweaver_getopt( 'content_h_font_family' ) ) ) { $content_h_ff = '0'; } $font_size = aweaver_getopt_default( 'content_h_font_size', 'default' ); switch ( $font_size ) { case 'xxs-font-size': $h_fontmult = 0.625; break; case 'xs-font-size': $h_fontmult = 0.75; break; case 's-font-size': $h_fontmult = 0.875; break; case 'l-font-size': $h_fontmult = 1.125; break; case 'xl-font-size': $h_fontmult = 1.25; break; case 'xxl-font-size': $h_fontmult = 1.5; break; default: $h_fontmult = 1; break; } if ( isset( $GLOBALS['aweaver_sb_layout'] ) ) { $sb_layout = $GLOBALS['aweaver_sb_layout']; } else { $sb_layout = 'none'; } $local = array( 'hideTip' => ( aweaver_getopt( 'hide_tooltip' ) ) ? '1' : '0', 'hFontFamily' => $content_h_ff, 'hFontMult' => $h_fontmult, 'sbLayout' => $sb_layout, 'flowColor' => ( aweaver_getopt( 'flow_color' ) ) ? '1' : '0', 'full_browser_height' => ( aweaver_getopt( 'full_browser_height' ) ) ? '1' : '0', 'primary' => ( aweaver_getopt( 'primary_eq_widgets' ) ) ? '1' : '0', // #primary-widget-area 'secondary' => ( aweaver_getopt( 'secondary_eq_widgets' ) ) ? '1' : '0', // '#secondary-widget-area', 'top' => ( aweaver_getopt( 'top_eq_widgets' ) ) ? '1' : '0', // '.widget-area-top', 'bottom' => ( aweaver_getopt( 'bottom_eq_widgets' ) ) ? '1' : '0', // '.widget-area-bottom', 'header_sb' => ( aweaver_getopt( 'header_sb_eq_widgets' ) ) ? '1' : '0', // '#header-widget-area', 'footer_sb' => ( aweaver_getopt( 'footer_sb_eq_widgets' ) ) ? '1' : '0', // '#footer-widget-area', ); wp_localize_script( 'aweaverJSLibEnd', 'wvrxEndOpts', $local ); // in footer.php because don't know the values yet in functions.php } aweaver_footer(); wp_footer(); ?>