'+00 123 456 7890', 'header-top-email-id' => 'office@domain.com', 'header-top-link-1-text' => esc_html__('Register','alagu'), 'header-top-link-1' => '#', 'header-top-link-2-text' => esc_html__('Login','alagu'), 'header-top-link-2' => '#', 'show-loader' => '1', 'show-pagecomments' => '1', 'showall-pagination' => '0', 'show-to-top' => '1', // Site Identity 'display-site-title' => '', 'display-site-tagline' => '', 'site-title-color' => '', 'site-title-h-color' => '', 'site-tagline-color' => '', 'site-title-typo' => array( 'font-family' => 'ABeeZee', 'font-fallback' => "'ABeeZee',sans-serif", 'font-type' => 'google', 'font-weight' => '400', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '', 'fs-desktop-unit' => '', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '', 'ls-desktop-unit' => '', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), 'site-tagline-typo' => array( 'font-family' => 'ABeeZee', 'font-fallback' => "'ABeeZee',sans-serif", 'font-type' => 'google', 'font-weight' => '400', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '', 'fs-desktop-unit' => '', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '', 'ls-desktop-unit' => '', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), // Breadcrumb 'show-breadcrumb' => '1', 'breadcrumb-style' => 'aligncenter', 'breadcrumb-position' => 'header-top-relative', 'breadcrumb-delimiter' => '', 'breadcrumb-title-typo' => array( 'font-family' => 'Cormorant', 'font-fallback' => "'Cormorant', serif", 'font-type' => 'google', 'font-weight' => '700', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '40', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '0.02', 'ls-desktop-unit' => 'em', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), 'breadcrumb-typo' => array( 'font-family' => 'Open Sans', 'font-fallback' => "'Open Sans',sans-serif", 'font-type' => 'google', 'font-weight' => '400', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '16', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '', 'ls-desktop-unit' => '', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), // Site Layout 'site-layout' => 'wide', 'site-boxed-layout' => '1', // Typography 'h1-typo' => array( 'font-family' => 'Cormorant', 'font-fallback' => "'Cormorant',serif", 'font-type' => 'google', 'font-weight' => '700', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '42', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '0.02', 'ls-desktop-unit' => 'em', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), 'h2-typo' => array( 'font-family' => 'Cormorant', 'font-fallback' => "'Cormorant',serif", 'font-type' => 'google', 'font-weight' => '700', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '36', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '0.02', 'ls-desktop-unit' => 'em', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), 'h3-typo' => array( 'font-family' => 'Cormorant', 'font-fallback' => "'Cormorant',serif", 'font-type' => 'google', 'font-weight' => '700', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '30', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '0.02', 'ls-desktop-unit' => 'em', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), 'h4-typo' => array( 'font-family' => 'Cormorant', 'font-fallback' => "'Cormorant',serif", 'font-type' => 'google', 'font-weight' => '700', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '26', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '0.02', 'ls-desktop-unit' => 'em', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), 'h5-typo' => array( 'font-family' => 'Cormorant', 'font-fallback' => "'Cormorant',serif", 'font-type' => 'google', 'font-weight' => '700', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '24', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '0.02', 'ls-desktop-unit' => 'em', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), 'h6-typo' => array( 'font-family' => 'Cormorant', 'font-fallback' => "'Cormorant',serif", 'font-type' => 'google', 'font-weight' => '700', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '20', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '0.02', 'ls-desktop-unit' => 'em', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), // H1 - H6 Color 'h1-color' => '#1e1d1e', 'h2-color' => '#1e1d1e', 'h3-color' => '#1e1d1e', 'h4-color' => '#1e1d1e', 'h5-color' => '#1e1d1e', 'h6-color' => '#1e1d1e', // Extra Fonts - Body Font Family 'extra-1-typo' => array( 'font-family' => 'Open Sans', 'font-fallback' => "'Open Sans', sans-serif", 'font-type' => 'google', ), // Extra Fonts - Heading Font Family 'extra-2-typo' => array( 'font-family' => 'Dancing Script', 'font-fallback' => "'Dancing Script', cursive", 'font-type' => 'google', ), // Footer 'footer-title-typo' => array( 'font-family' => 'Cormorant', 'font-fallback' => "'Cormorant',serif", 'font-type' => 'google', 'font-weight' => '700', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => 'left', 'text-decoration' => '', 'fs-desktop' => '30', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '0.02', 'ls-desktop-unit' => 'em', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), 'footer-content-typo' => array( 'font-family' => 'Open Sans', 'font-fallback' => "'Open Sans',sans-serif", 'font-type' => 'google', 'font-weight' => '400', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '16', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '30', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '', 'ls-desktop-unit' => '', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), 'footer-title-color' => '#1e1d1e', 'footer-content-color' => '#666666', 'footer-content-a-color' => '', 'footer-content-a-hover-color' => '', // Widget Area Tile 'widget-title-color' => '#1e1d1e', 'widget-title-bg-color' => '', 'widget-title-border-style' => 'none', 'widget-title-border' => array(), 'widget-title-border-color' => '', 'widget-title-border-radius' => array(), 'widget-title-typo' => array( 'font-family' => 'Cormorant', 'font-fallback' => "'Cormorant',serif", 'font-type' => 'google', 'font-weight' => '700', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '', 'fs-desktop-unit' => '', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '', 'ls-desktop-unit' => '', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), 'widget-content-color' => '#666666', 'widget-content-link-color' => '#666666', 'widget-content-link-hover-color' => '#f84798', 'widget-content-typo' => array( 'font-family' => 'Open Sans', 'font-fallback' => "'Open Sans',sans-serif", 'font-type' => 'google', 'font-weight' => '400', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '', 'fs-desktop-unit' => '', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '', 'ls-desktop-unit' => '', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), // WooCommerce // Shop Page Section 'shop-page-enable-breadcrumb' => '1', 'shop-page-layout' => 'content-full-width', 'shop-page-show-standard-sidebar' => '', 'shop-page-product-per-page' => 12, 'shop-page-product-layout' => 4, 'shop-page-widgetareas' => '', // Category Archive Page Section 'dt-woo-category-archive-enable-breadcrumb' => '1', 'dt-woo-category-archive-layout' => 'with-left-sidebar', 'dt-woo-category-archive-show-standard-sidebar' => '', 'dt-woo-category-archive-widgetareas' => '', 'dt-woo-category-archive-product-per-page' => 12, 'dt-woo-category-archive-product-layout' => 4, // Tag Archive Page Section 'dt-woo-tag-archive-enable-breadcrumb' => '1', 'dt-woo-tag-archive-layout' => 'with-left-sidebar', 'dt-woo-tag-archive-show-standard-sidebar' => '', 'dt-woo-tag-archive-widgetareas' => '', 'dt-woo-tag-archive-product-per-page' => 12, 'dt-woo-tag-archive-product-layout' => 4, // Product Single Page Section 'dt-single-product-enable-breadcrumb' => '1', 'dt-single-product-addtocart-sticky' => '0', 'dt-single-product-default-show-upsell' => '1', 'dt-single-product-upsell-title' => '', 'dt-single-product-upsell-column' => 4, 'dt-single-product-upsell-limit' => 4, 'dt-single-product-default-show-related' => '1', 'dt-single-product-related-title' => '', 'dt-single-product-related-column' => 4, 'dt-single-product-related-limit' => 4, // Others Section 'dt-woo-quantity-plusnminus' => '', 'dt-woo-addtocart-custom-action' => '', 'dt-woo-cross-sell-column' => 2, 'dt-woo-cross-sell-title' => '', // All Page Settings // Archive Pages 'site-global-sidebar-layout' => 'with-both-sidebar', 'blog-archives-page-layout' => 'with-both-sidebar', 'show-standard-left-sidebar-for-post-archives' => '1', 'show-standard-right-sidebar-for-post-archives' => '1', 'blog-post-layout' => 'entry-grid', 'blog-post-grid-list-style' => 'dt-sc-classic-ii', 'blog-post-cover-style' => 'dt-sc-boxed', 'blog-post-columns' => 'one-third-column', 'blog-list-thumb' => 'entry-left-thumb', 'blog-alignment' => 'alignnone', 'enable-equal-height' => '0', 'enable-no-space' => '0', 'enable-gallery-slider' => '0', 'blog-elements-position' => array( 'feature_image', 'meta_group', 'title', 'content', 'read_more' ), 'blog-meta-position' => array( 'date', 'author' ), 'enable-post-format' => '0', 'enable-excerpt-text' => '1', 'blog-excerpt-length' => '20', 'enable-video-audio' => '0', 'blog-readmore-text' => esc_html__('Read More', 'alagu'), 'blog-image-hover-style' => 'dt-sc-default', 'blog-image-overlay-style' => 'dt-sc-default', 'blog-pagination' => 'numbered', // Single Page 'post-elements-position' => array( 'content', 'meta_group', 'navigation', 'comment_box' ), 'post-meta-position' => array( 'categories' ), 'post-related-title' => esc_html__('Related Posts', 'alagu'), 'post-related-columns' => 'one-third-column', 'post-related-count' => '3', 'enable-related-excerpt' => '0', 'post-related-excerpt' => '25', 'enable-related-carousel' => '0', 'related-carousel-nav' => '', 'enable-image-lightbox' => '0', 'post-comments-list-style' => 'rounded', // 404 Page Settings 'enable-404message' => '1', 'notfound-style' => 'type1', 'notfound-darkbg' => '0', 'notfound_background' => '', 'notfound-bg-style' => '', // Hooks 'enable-top-hook' => '0', 'top-hook' => '', 'enable-content-before-hook' => '0', 'content-before-hook' => '', 'enable-content-after-hook' => '0', 'content-after-hook' => '', 'enable-bottom-hook' => '0', 'bottom-hook' => '', 'enable-analytics-code' => '0', 'analytics-code' => '', // Sociable 'sociable-delicious' => '', 'sociable-deviantart' => '', 'sociable-digg' => '', 'sociable-dribbble' => '', 'sociable-envelope' => '', 'sociable-facebook' => '', 'sociable-flickr' => '', 'sociable-google-plus' => '', 'sociable-gtalk' => '', 'sociable-instagram' => '', 'sociable-lastfm' => '', 'sociable-linkedin' => '', 'sociable-myspace' => '', 'sociable-picasa' => '', 'sociable-pinterest' => '', 'sociable-reddit' => '', 'sociable-rss' => '', 'sociable-skype' => '', 'sociable-stumbleupon' => '', 'sociable-technorati' => '', 'sociable-tumblr' => '', 'sociable-twitter' => '', 'sociable-viadeo' => '', 'sociable-vimeo' => '', 'sociable-yahoo' => '', 'sociable-youtube' => '', // Skin 'primary-color' => '#f84798', 'secondary-color' => '#6b15a0', 'tertiary-color' => '#1e1d1e', 'body-bg-color' => '#ffffff', 'body-content-color' => '#666666', 'body-content-link-color' => '', 'body-content-link-hover-color' => '', 'body-typo' => array( 'font-family' => 'Open Sans', 'font-fallback' => "Open Sans,sans-serif", 'font-type' => 'google', 'font-weight' => '400', 'font-style' => 'normal', 'text-transform' => '', 'text-align' => '', 'text-decoration' => '', 'fs-desktop' => '16', 'fs-desktop-unit' => 'px', 'fs-tablet' => '', 'fs-tablet-unit' => '', 'fs-tablet-landscape' => '', 'fs-tablet-landscape-unit' => '', 'fs-mobile' => '', 'fs-mobile-unit' => '', 'lh-desktop' => '30', 'lh-tablet' => '', 'lh-tablet-landscape' => '', 'lh-mobile' => '', 'ls-desktop' => '', 'ls-desktop-unit' => '', 'ls-tablet' => '', 'ls-tablet-unit' => '', 'ls-tablet-landscape' => '', 'ls-tablet-landscape-unit' => '', 'ls-mobile' => '', 'ls-mobile-unit' => '', ), // Additional JS 'additional-js' => '', ); return apply_filters( 'dttheme_default_settings', $defaults ); } public static function get_options() { self::refresh(); return self::$db_options; } /** * Update theme static option array with sane defaults. * @link https://make.wordpress.org/themes/2014/07/09/using-sane-defaults-in-themes/ */ public static function refresh() { self::$db_options = wp_parse_args( get_option( ALAGU_THEME_SETTINGS, array() ), self::defaults() ); } } } ALAGU_Theme_Options::get_instance(); /** * Retrieves an option value based on an option name. * */ if ( ! function_exists( 'alagu_get_option' ) ) { function alagu_get_option( $option, $default = '' ) { $theme_options = ALAGU_Theme_Options::get_options(); /** * Filter the options array for theme settings. */ $theme_options = apply_filters( 'alagu_get_option_array', $theme_options, $option, $default ); $value = ( isset( $theme_options[ $option ] ) && '' !== $theme_options[ $option ] ) ? $theme_options[ $option ] : $default; /** * Dynamic filter alagu_get_option_$option. */ return apply_filters( "alagu_get_option_{$option}", $value, $option, $default ); } }