__( '1', 'read-more' ), 2 => __( '2', 'read-more' ), 3 => __( '3', 'read-more' ) ); return apply_filters( 'read_more_featured_slider_number', $read_more_featured_slider_number ); } endif; /** * Header logo/text display options alternative * * @since Read More 1.0.2 * * @param null * @return array $read_more_header_id_display_opt * */ if ( !function_exists('read_more_header_id_display_opt') ) : function read_more_header_id_display_opt() { $read_more_header_id_display_opt = array( 'logo-only' => __( 'Logo Only ( First Select Logo Above )', 'read-more' ), 'title-only' => __( 'Site Title Only', 'read-more' ), 'title-and-tagline' => __( 'Site Title and Tagline', 'read-more' ), 'disable' => __( 'Disable', 'read-more' ) ); return apply_filters( 'read_more_header_id_display_opt', $read_more_header_id_display_opt ); } endif; /** * Sidebar layout options * * @since Read More 1.0.0 * * @param null * @return array $read_more_sidebar_layout * */ if ( !function_exists('read_more_sidebar_layout') ) : function read_more_sidebar_layout() { $read_more_sidebar_layout = array( 'right-sidebar'=> __( 'Right Sidebar', 'read-more' ), 'left-sidebar'=> __( 'Left Sidebar' , 'read-more' ), 'no-sidebar'=> __( 'No Sidebar', 'read-more' ) ); return apply_filters( 'read_more_sidebar_layout', $read_more_sidebar_layout ); } endif; /** * Blog layout options * * @since Read More 1.0.0 * * @param null * @return array $read_more_blog_layout * */ if ( !function_exists('read_more_blog_layout') ) : function read_more_blog_layout() { $read_more_blog_layout = array( 'full-image' => __( 'Full Image', 'read-more' ), 'left-image' => __( 'Left Image', 'read-more' ), 'no-image' => __( 'No Image', 'read-more' ) ); return apply_filters( 'read_more_blog_layout', $read_more_blog_layout ); } endif; /** * Author Options * * @since Read More 1.0.0 * * @param null * @return array read_more_author_options * */ if ( !function_exists('read_more_author_options') ) : function read_more_author_options() { $read_more_author_options = array( 'default' => __( 'Default', 'read-more' ), 'advanced' => __( 'Advanced', 'read-more' ) ); return apply_filters( 'read_more_author_options', $read_more_author_options ); } endif; /** * Default Theme layout options * * @since Read More 1.0.0 * * @param null * @return array $read_more_theme_layout * */ if ( !function_exists('read_more_get_default_theme_options') ) : function read_more_get_default_theme_options() { $default_theme_options = array( /*header*/ 'read-more-enable-header-top' => '', 'read-more-header-top-enable-social' => '', 'read-more-header-top-enable-menu' => '', 'read-more-phone-number' => '', 'read-more-top-email' => '', 'read-more-header-top-enable-search' => '', /*feature section options*/ 'read-more-slider-from-category' => 0, 'read-more-featured-slider-number' => 2, 'read-more-enable-feature' => '', /*feature blog section options*/ 'read-more-blog-feature-title' => __( 'Featured', 'read-more' ), 'read-more-blog-feature-from-category' => 0, 'read-more-enable-feature-blog' => '', /*header options*/ 'read-more-header-logo' => '', 'read-more-header-id-display-opt' => 'title-only', 'read-more-facebook-url' => '', 'read-more-twitter-url' => '', 'read-more-youtube-url' => '', 'read-more-google-plus-url' => '', 'read-more-enable-social' => '', /*footer options*/ 'read-more-footer-copyright' => __( '© All right reserved 2016', 'read-more' ), /*layout/design options*/ 'read-more-hide-front-page-content' => '', 'read-more-sidebar-layout' => 'right-sidebar', 'read-more-blog-archive-layout' => 'full-image', 'read-more-author-options' => 'advanced', 'read-more-primary-color' => '#2196F3', 'read-more-custom-css' => '', /*single post options*/ 'read-more-show-related' => 1, /*theme options*/ 'read-more-search-placholder' => __( 'Search', 'read-more' ), 'read-more-show-breadcrumb' => 0 ); return apply_filters( 'read_more_default_theme_options', $default_theme_options ); } endif; /** * Get theme options * * @since Read More 1.0.0 * * @param null * @return array read_more_theme_options * */ if ( !function_exists('read_more_get_theme_options') ) : function read_more_get_theme_options() { $read_more_default_theme_options = read_more_get_default_theme_options(); $read_more_get_theme_options = get_theme_mod( 'read_more_theme_options'); if( is_array( $read_more_get_theme_options )){ return array_merge( $read_more_default_theme_options ,$read_more_get_theme_options ); } else{ return $read_more_default_theme_options; } } endif;