__( 'Category Navigation', 'simply-jigoshop' ), 'pages' => __( 'Pages Navigation', 'simply-jigoshop' ), ) ); add_editor_style( 'css/style.css' ); } } add_action( 'after_setup_theme', 'simply_jigoshop_setup' ); $simply_jigoshop_default_options = array( 'jigotheme_logo_path' => get_template_directory_uri() . '/images/jigoshop.png', 'jigowatt_show_subpages' => 'yes', 'jigotheme_color' => 'green', ); if ( is_admin() ) include_once "includes/theme-config.php"; include_once "includes/theme-enqueue.php"; if ( ! function_exists( 'simply_jigoshop_show_posts_nav' ) ) : /** * Display navigation to next/previous set of posts when applicable. * * @return void */ function simply_jigoshop_show_posts_nav() { // Don't print empty markup if there's only one page. if ( $GLOBALS['wp_query']->max_num_pages < 2 ) { return; } ?> '; } function simply_jigoshop_close_wrapper() { echo ''; } add_action( 'jigoshop_before_main_content', 'simply_jigoshop_wrapper', 10 ); add_action( 'jigoshop_after_main_content', 'simply_jigoshop_close_wrapper', 10 ); //############################################################################### // Add theme sidebars //############################################################################### function simply_jigoshop_widgets_init() { register_sidebar( array( 'name' => __( 'Primary Widget Area', 'simply-jigoshop' ), 'id' => 'primary-widget-area', 'before_widget' => '
', 'before_title' => ''', ) ); ?>