/**** begin theme checks ****/ // check if in preview mode or not $shiword_is_printpreview = false; if ( isset( $_GET['style'] ) && md5( $_GET['style'] ) == '8e77921d24c6f82c4bd783895e9d9cf1' ) { //print preview $shiword_is_printpreview = true; } // check if is "all category" page $shiword_is_allcat_page = false; if ( isset( $_GET['allcat'] ) && ( md5( $_GET['allcat'] ) == '415290769594460e2e485922904f345d' ) ) { $shiword_is_allcat_page = true; } /**** end theme checks ****/ // Set the content width based on the theme's design if ( ! isset( $content_width ) ) { if ( ! $shiword_is_mobile_browser ) { $content_width = $shiword_opt['shiword_frame_width'] - 290; } else { $content_width = 300; } } // get theme version if ( get_theme( 'Shiword' ) ) { $shiword_current_theme = get_theme( 'Shiword' ); $shiword_version = $shiword_current_theme['Version']; } if ( !function_exists( 'shiword_widgets_init' ) ) { function shiword_widgets_init() { global $shiword_opt; // Area 1, located at the top of the sidebar. if ( !isset( $shiword_opt['shiword_rsideb'] ) || $shiword_opt['shiword_rsideb'] == 1 ) { register_sidebar( array( 'name' => __( 'Sidebar Widget Area', 'shiword' ), 'id' => 'primary-widget-area', 'description' => '', 'before_widget' => '
', 'before_title' => '