array( 'url' => get_template_directory_uri() . '/assets/images/archive-1.webp', 'label' => esc_html__( 'Archive List View', 'bloglex' ), ), 'archive_style_2' => array( 'url' => get_template_directory_uri() . '/assets/images/archive-2.webp', 'label' => esc_html__( 'Archive Grid View', 'bloglex' ), ), 'archive_style_3' => array( 'url' => get_template_directory_uri() . '/assets/images/archive-3.webp', 'label' => esc_html__( 'Archive Alternate Grid View', 'bloglex' ), ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_get_date_formats' ) ) : /** * Returns title Alignments * * @since 1.0.0 * * @return array Options array. */ function bloglex_get_date_formats() { $options = apply_filters( 'bloglex_archive_date_format', array( 'classic' => __( 'Classic', 'bloglex' ), 'time_ago' => __( 'Time Ago', 'bloglex' ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_line_limit_choices' ) ) : /** * Returns title limit options. * * @since 1.0.0 * * @return array Options array. */ function bloglex_line_limit_choices() { $options = apply_filters( 'bloglex_title_limit_options', array( '' => __( '— No Limit —', 'bloglex' ), 'limit-line-1' => __( '1 Line', 'bloglex' ), 'limit-line-2' => __( '2 Lines', 'bloglex' ), 'limit-line-3' => __( '3 Lines', 'bloglex' ), 'limit-line-4' => __( '4 Lines', 'bloglex' ), 'limit-line-5' => __( '5 Lines', 'bloglex' ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_archive_category_style' ) ) : /** * Returns title Alignments * * @since 1.0.0 * * @return array Options array. */ function bloglex_archive_category_style() { $options = apply_filters( 'bloglex_archive_category_style', array( 'archive_cat_style_1' => __( 'Category Style 1', 'bloglex' ), 'archive_cat_style_2' => __( 'Category Style 2', 'bloglex' ), 'archive_cat_style_3' => __( 'Category Style 3', 'bloglex' ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_archive_read_time_style' ) ) : /** * Returns title Alignments * * @since 1.0.0 * * @return array Options array. */ function bloglex_archive_read_time_style() { $options = apply_filters( 'bloglex_archive_read_time_style', array( 'archive_read_time_style_1' => __( 'Read Time Style 1', 'bloglex' ), 'archive_read_time_style_2' => __( 'Read Time Style 2', 'bloglex' ), 'archive_read_time_style_3' => __( 'Read Time Style 3', 'bloglex' ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_get_header_layout' ) ) : /** * Returns header layout options. * * @since 1.0.0 * * @return array Options array. */ function bloglex_get_header_layout() { $options = apply_filters( 'bloglex_get_header_layout', array( 'header_style_1' => array( 'url' => get_template_directory_uri() . '/assets/images/header-1.webp', 'label' => esc_html__( 'Header Style 1', 'bloglex' ), ), 'header_style_2' => array( 'url' => get_template_directory_uri() . '/assets/images/header-2.webp', 'label' => esc_html__( 'Header Style 2', 'bloglex' ), ), 'header_style_3' => array( 'url' => get_template_directory_uri() . '/assets/images/header-3.webp', 'label' => esc_html__( 'Header Style 3', 'bloglex' ), ), 'header_style_4' => array( 'url' => get_template_directory_uri() . '/assets/images/header-4.webp', 'label' => esc_html__( 'Header Style 4', 'bloglex' ), ), 'header_style_5' => array( 'url' => get_template_directory_uri() . '/assets/images/header-5.webp', 'label' => esc_html__( 'Header Style 5', 'bloglex' ), ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_social_menu_style' ) ) : /** * Returns title Alignments * * @since 1.0.0 * * @return array Options array. */ function bloglex_social_menu_style() { $options = apply_filters( 'bloglex_social_menu_style', array( 'has-brand-background' => __( 'Has Brand Background', 'bloglex' ), 'has-brand-color' => __( 'Has Brand Color', 'bloglex' ), 'none' => __( 'None', 'bloglex' ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_pagination_style_choice' ) ) : /** * Returns title Alignments * * @since 1.0.0 * * @return array Options array. */ function bloglex_pagination_style_choice() { $options = apply_filters( 'bloglex_pagination_style_choice', array( 'pagination_none' => __( 'None', 'bloglex' ), 'pagination_numeric' => __( 'Numeric', 'bloglex' ), 'pagination_default' => __( 'Default(New/Old Post)', 'bloglex' ), 'pagination_ajax_on_scroll' => __( 'Load More On Scroll', 'bloglex' ), 'pagination_ajax_on_click' => __( 'Load More On Click', 'bloglex' ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_category_color' ) ) : /** * Returns title Alignments * * @since 1.0.0 * * @return array Options array. */ function bloglex_category_color() { $options = apply_filters( 'bloglex_category_color', array( 'none' => __( 'None', 'bloglex' ), 'has-background' => __( 'Has dot', 'bloglex' ), 'has-text-color' => __( 'Has text color', 'bloglex' ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_get_footer_layouts' ) ) : /** * Returns footer layout options. * * @since 1.0.0 * * @return array Options array. */ function bloglex_get_footer_layouts() { $options = apply_filters( 'bloglex_footer_layouts', array( 'footer_layout_1' => array( 'url' => get_template_directory_uri() . '/assets/images/footer-col-4.webp', 'label' => esc_html__( 'Four Columns', 'bloglex' ), ), 'footer_layout_2' => array( 'url' => get_template_directory_uri() . '/assets/images/footer-col-3.webp', 'label' => esc_html__( 'Three Columns', 'bloglex' ), ), 'footer_layout_3' => array( 'url' => get_template_directory_uri() . '/assets/images/footer-col-2.webp', 'label' => esc_html__( 'Two Columns', 'bloglex' ), ), 'footer_layout_4' => array( 'url' => get_template_directory_uri() . '/assets/images/footer-col-2-big-left.webp', 'label' => esc_html__( 'Two Columns Big Left', 'bloglex' ), ), 'footer_layout_5' => array( 'url' => get_template_directory_uri() . '/assets/images/footer-col-3-big-middle.webp', 'label' => esc_html__( 'Three Columns Big Middle', 'bloglex' ), ), 'footer_layout_6' => array( 'url' => get_template_directory_uri() . '/assets/images/footer-col-2-big-right.webp', 'label' => esc_html__( 'Two Columns Big Right', 'bloglex' ), ), 'footer_layout_7' => array( 'url' => get_template_directory_uri() . '/assets/images/footer-col-1.webp', 'label' => esc_html__( 'Single Column', 'bloglex' ), ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_preloader_style_option' ) ) : /** * Returns title Alignments * * @since 1.0.0 * * @return array Options array. */ function bloglex_preloader_style_option() { $options = apply_filters( 'bloglex_preloader_style_option', array( 'style-1' => __( 'Style - 1', 'bloglex' ), 'style-2' => __( 'Style - 2', 'bloglex' ), 'style-3' => __( 'Style - 3', 'bloglex' ), 'style-4' => __( 'Style - 4', 'bloglex' ), 'style-5' => __( 'Style - 5', 'bloglex' ), 'style-6' => __( 'Style - 6', 'bloglex' ), 'style-7' => __( 'Style - 7', 'bloglex' ), 'style-8' => __( 'Style - 8', 'bloglex' ), 'style-9' => __( 'Style - 9', 'bloglex' ), 'style-10' => __( 'Style - 10', 'bloglex' ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_get_recommended_post' ) ) : /** * Returns recommended layout options. * * @since 1.0.0 * * @return array Options array. */ function bloglex_get_recommended_post() { $options = apply_filters( 'bloglex_get_recommended_post', array( 'wpi-post-recommendation-1' => array( 'url' => get_template_directory_uri() . '/assets/images/recommended-1.webp', 'label' => esc_html__( 'Recommended List View', 'bloglex' ), ), 'wpi-post-recommendation-2' => array( 'url' => get_template_directory_uri() . '/assets/images/recommended-2.webp', 'label' => esc_html__( 'Recommended Grid View', 'bloglex' ), ), 'wpi-post-recommendation-3' => array( 'url' => get_template_directory_uri() . '/assets/images/recommended-3.webp', 'label' => esc_html__( 'Recommended Alternate Grid View', 'bloglex' ), ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_author_meta' ) ) : /** * Returns title Alignments * * @since 1.0.0 * * @return array Options array. */ function bloglex_author_meta() { $options = apply_filters( 'bloglex_author_meta', array( 'with_label' => __( 'With Label', 'bloglex' ), 'with_icon' => __( 'With Icon', 'bloglex' ), 'with_avatar_image' => __( 'With Avatar Image', 'bloglex' ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_date_meta' ) ) : /** * Returns title Alignments * * @since 1.0.0 * * @return array Options array. */ function bloglex_date_meta() { $options = apply_filters( 'bloglex_date_meta', array( 'with_label' => __( 'With Label', 'bloglex' ), 'with_icon' => __( 'With Icon', 'bloglex' ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_get_sidebar_layouts' ) ) : /** * Returns general layout options. * * @since 1.0.0 * * @return array Options array. */ function bloglex_get_sidebar_layouts() { $options = apply_filters( 'bloglex_sidebar_layouts', array( 'left-sidebar' => array( 'url' => get_template_directory_uri() . '/assets/images/left-sidebar.webp', 'label' => esc_html__( 'Left Sidebar', 'bloglex' ), ), 'right-sidebar' => array( 'url' => get_template_directory_uri() . '/assets/images/right-sidebar.webp', 'label' => esc_html__( 'Right Sidebar', 'bloglex' ), ), 'no-sidebar' => array( 'url' => get_template_directory_uri() . '/assets/images/no-sidebar.webp', 'label' => esc_html__( 'No Sidebar - Wide', 'bloglex' ), ), ) ); return $options; } endif; if ( ! function_exists( 'bloglex_get_social_links_styles' ) ) : /** * Returns social links styles options. * * @since 1.0.0 * * @return array Options array. */ function bloglex_get_social_links_styles() { $options = apply_filters( 'bloglex_social_links_styles', array( 'style_1' => __( 'Style 1', 'bloglex' ), 'style_2' => __( 'Style 2', 'bloglex' ), 'style_3' => __( 'Style 3', 'bloglex' ), 'style_4' => __( 'Style 4', 'bloglex' ), ) ); return $options; } endif;