Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Read more', 'Theme starter content', 'artgallery' ), 'artgallery_slide2_image' => esc_url( get_template_directory_uri() . '/images/slider/2.jpg' ), 'artgallery_slide2_content' => _x( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Read more', 'Theme starter content', 'artgallery' ), 'artgallery_slide3_image' => esc_url( get_template_directory_uri() . '/images/slider/3.jpg' ), 'artgallery_slide3_content' => _x( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Read more', 'Theme starter content', 'artgallery' ), ), 'nav_menus' => array( // Assign a menu to the "primary" location. 'primary' => array( 'name' => __( 'Primary Menu', 'artgallery' ), 'items' => array( 'link_home', 'page_blog', 'page_contact', 'page_about', ), ), // Assign a menu to the "footer" location. 'footer' => array( 'name' => __( 'Footer Menu', 'artgallery' ), 'items' => array( 'link_home', 'page_about', 'page_blog', 'page_contact', ), ), ), ); $starter_content = apply_filters( 'artgallery_starter_content', $starter_content ); add_theme_support( 'starter-content', $starter_content ); } endif; // artgallery_setup add_action( 'after_setup_theme', 'artgallery_setup' ); if ( ! function_exists( 'artgallery_fonts_url' ) ) : /** * Load google font url used in the ArtGallery theme */ function artgallery_fonts_url() { $fonts_url = ''; /* Translators: If there are characters in your language that are not * supported by Questrial, translate this to 'off'. Do not translate * into your own language. */ $questrial = _x( 'on', 'Questrial font: on or off', 'artgallery' ); if ( 'off' !== $questrial ) { $font_families = array(); $font_families[] = 'Overlock'; $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), ); $fonts_url = add_query_arg( $query_args, '//fonts.googleapis.com/css' ); } return $fonts_url; } endif; // artgallery_fonts_url if ( ! function_exists( 'artgallery_load_scripts' ) ) : /** * the main function to load scripts in the ArtGallery theme * if you add a new load of script, style, etc. you can use that function * instead of adding a new wp_enqueue_scripts action for it. */ function artgallery_load_scripts() { // load main stylesheet. wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/assets/css/font-awesome.css', array( ) ); wp_enqueue_style( 'animate-css', get_template_directory_uri() . '/assets/css/animate.css', array( ) ); wp_enqueue_style( 'artgallery-style', get_stylesheet_uri(), array() ); wp_enqueue_style( 'artgallery-fonts', artgallery_fonts_url(), array(), null ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } wp_enqueue_script( 'viewportchecker', get_template_directory_uri() . '/assets/js/viewportchecker.js', array( 'jquery' ) ); // Load Utilities JS Script wp_enqueue_script( 'artgallery-utilities', get_template_directory_uri() . '/assets/js/utilities.js', array( 'jquery', 'viewportchecker' ) ); $data = array( 'loading_effect' => ( get_theme_mod('artgallery_animations_display', 1) == 1 ), ); wp_localize_script('artgallery-utilities', 'artgallery_options', $data); wp_enqueue_script( 'jquery.easing', get_template_directory_uri() . '/assets/js/jquery.easing.js', array( 'jquery' ) ); wp_enqueue_script( 'camera', get_template_directory_uri() . '/assets/js/camera.js', array( 'jquery' ) ); } endif; // artgallery_load_scripts add_action( 'wp_enqueue_scripts', 'artgallery_load_scripts' ); if ( ! function_exists( 'artgallery_widgets_init' ) ) : /** * widgets-init action handler. Used to register widgets and register widget areas */ function artgallery_widgets_init() { // Register Sidebar Widget. register_sidebar( array ( 'name' => __( 'Sidebar Widget Area', 'artgallery'), 'id' => 'sidebar-widget-area', 'description' => __( 'The sidebar widget area', 'artgallery'), 'before_widget' => '', 'after_widget' => '', 'before_title' => '