コード例 #1
1
ファイル: backend.php プロジェクト: halkibsi/Unyson
 public function _settings_form_save($data)
 {
     fw_set_db_settings_option(null, array_merge((array) fw_get_db_settings_option(), fw_get_options_values_from_input(fw()->theme->get_settings_options())));
     FW_Flash_Messages::add('fw_settings_form_saved', __('Options successfuly saved', 'fw'), 'success');
     $data['redirect'] = fw_current_url();
     return $data;
 }
コード例 #2
0
function delete_builder_template()
{
    $path = 'builder_template/' . $_POST['builder_type'];
    $db_options = fw_get_db_settings_option($path);
    fw_aku(FW_Request::POST('uniqid'), $db_options);
    fw_set_db_settings_option($path, $db_options);
}
コード例 #3
0
ファイル: helpers.php プロジェクト: chrisuehlein/couponsite
/**
 *  Get Unyson option
 */
function fw_ssd_get_option($option_id, $default_value = false)
{
    if (function_exists('fw_get_db_settings_option')) {
        return fw_get_db_settings_option($option_id, $default_value);
    }
    return $default_value;
}
コード例 #4
0
 /**
  * Creates the breadcrumbs HTML
  * @param string $separator, separator symbol that will be set between elements
  *
  * @return string
  */
 public function render($separator = ">")
 {
     $data = array();
     $settings = array();
     $settings['labels'] = fw_get_db_settings_option($this->get_option_id());
     $breadcrumbs = new Breadcrumbs_Builder($settings);
     $data['items'] = $breadcrumbs->get_breadcrumbs();
     $data['separator'] = $separator;
     return $this->render_view('breadcrumbs', $data);
 }
コード例 #5
0
 function starry_ticker()
 {
     $hometickerspeed = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('hometickerspeed') : '';
     echo '<script type="text/javascript">';
     echo 'jQuery(document).ready(function() {';
     echo 'jQuery("#ticker-text").vTicker("init", {';
     echo 'speed: 300,';
     echo 'pause: ' . $hometickerspeed;
     echo '});';
     echo '});';
     echo '</script>';
 }
コード例 #6
0
ファイル: events.php プロジェクト: ansfazi/xaraar_core
 /**
  * @Prepare Post Type
  * @return {}
  */
 public function prepare_post_type()
 {
     if (function_exists('fw_get_db_settings_option')) {
         $law_events_slug = fw_get_db_settings_option('law_events_slug', 'law_events');
         if (empty($law_events_slug)) {
             $law_events_slug = 'law_events';
         }
     } else {
         $law_events_slug = 'law_events';
     }
     $labels = array('name' => esc_html__('Events', 'law-firm'), 'all_items' => esc_html__('Events', 'law-firm'), 'singular_name' => esc_html__('Events', 'law-firm'), 'add_new' => esc_html__('Add Event', 'law-firm'), 'add_new_item' => esc_html__('Add New Event', 'law-firm'), 'edit' => esc_html__('Edit', 'law-firm'), 'edit_item' => esc_html__('Edit Event', 'law-firm'), 'new_item' => esc_html__('New Event', 'law-firm'), 'view' => esc_html__('View Event', 'law-firm'), 'view_item' => esc_html__('View Event', 'law-firm'), 'search_items' => esc_html__('Search Event', 'law-firm'), 'not_found' => esc_html__('No Event found', 'law-firm'), 'not_found_in_trash' => esc_html__('No Event found in trash', 'law-firm'), 'parent' => esc_html__('Parent Event', 'law-firm'));
     $args = array('labels' => $labels, 'description' => esc_html__('This is where you can add new Event', 'law-firm'), 'public' => true, 'supports' => array('title', 'thumbnail', 'editor', 'comments'), 'show_ui' => true, 'capability_type' => 'post', 'map_meta_cap' => true, 'publicly_queryable' => true, 'exclude_from_search' => false, 'hierarchical' => false, 'menu_position' => 8, 'rewrite' => array('slug' => $law_events_slug, 'with_front' => false), 'query_var' => true, 'has_archive' => 'false');
     register_post_type('law_events', $args);
 }
コード例 #7
0
ファイル: footer.php プロジェクト: HilderH/emprendamos
 *
 * @package tarful
 */
?>

	</div><!-- #content -->
	<?php 
tarful_prefooter_content();
?>
	<footer id="colophon" class="site-footer" role="contentinfo">
		<div class="site-info">
			<!--<?php 
do_action('tarful_theme_credits');
?>
-->
			<p><?php 
printf(__('%s', 'tarful'), fw_get_db_settings_option('tf_footer_text'));
?>
</p>
		</div><!-- .site-info -->
	</footer><!-- #colophon -->
</div><!-- #page -->

<?php 
wp_footer();
tarful_after_footer();
?>

</body>
</html>
コード例 #8
0
        foreach ($terms as $term) {
            $termname = strtolower($term->name);
            $termname = str_replace(' ', '-', $termname);
            echo '<button class="btn btn-default" data-filter=".portfolio-' . esc_attr($termname) . '"><i class="fa fa-tag"></i>' . esc_html($term->name) . '</button>';
        }
        ?>
	            </div>
            <?php 
    }
    ?>
  		</div>
		<?php 
    $paged = get_query_var('paged') ? get_query_var('paged') : 1;
    ?>
		<?php 
    $portfolioorder = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('portfolioorder') : '';
    ?>
		<?php 
    query_posts(array('post_type' => 'portfolio', 'orderby' => 'date', 'order' => $portfolioorder, 'posts_per_page' => 12, 'paged' => $paged));
    ?>
  		<div id="portfolio-container" class="portfolio-container with-separation-bottom with-separation-top">
		  	<?php 
    if (have_posts()) {
        ?>
				<?php 
        while (have_posts()) {
            the_post();
            ?>
					<?php 
            // THE CATEGORY FOR FILTERING
            $terms = get_the_terms(get_the_ID(), 'portfolio-category');
コード例 #9
0
    if (has_nav_menu('copyright')) {
        $settings_footer = array('theme_location' => 'copyright', 'container' => '', 'items_wrap' => '<ul id="footer-navigation" class="%2$s">%3$s</ul>');
        wp_nav_menu($settings_footer);
    }
    ?>
			  		</div>
			  	</div>
			<?php 
}
?>
	  	</footer>
	  	<!-- END FOOTER -->
	  	
	  	<?php 
// IF YOU WANT TO DISPLAY SCROLL BUTTON
$scrolltop = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('scrolltop') : '';
if ($scrolltop == "yes") {
    ?>
			<!-- SCROLL TOP -->
			<a href="#header" id="scroll-top" class="fadeInRight animate-me"><i class="fa fa-angle-double-up"></i></a>
		<?php 
}
?>
  	</div>

    <!-- SCRIPTS -->
    <?php 
wp_footer();
?>
  </body>
  <!-- END BODY -->
コード例 #10
0
ファイル: helpers.php プロジェクト: setcomunicacao/setdigital
    function fw_theme_change_style()
    {
        if (!defined('FW')) {
            return;
        }
        $styles = $headings = $body = $html = '';
        $fonts_links = array();
        //colors
        $color = fw_get_db_settings_option('color_schemes');
        $menu_text_color = fw_get_db_settings_option('menu_text_color');
        $menu_bg = fw_get_db_settings_option('menu_bg');
        $menu_sticky_bg = fw_get_db_settings_option('menu_sticky_bg');
        $menu_sticky_text = fw_get_db_settings_option('menu_sticky_text');
        //fonts
        $headings_typography = fw_get_db_settings_option('enable_headings_font');
        $body_typography = fw_get_db_settings_option('enable_body_font');
        $url = get_template_directory_uri();
        if ($headings_typography['enable_headings'] == 'yes') {
            //add/get heading font
            if (!empty($headings_typography['yes']['headings_typography']) && isset($headings_typography['yes']['headings_typography']['family'])) {
                $fonts_links[$headings_typography['yes']['headings_typography']['family']][] = $headings_typography['yes']['headings_typography']['style'];
                $headings = fw_theme_css_fonts($headings_typography['yes']['headings_typography'], 'h1,h2,h3,h4,h5,h6,h1 a, h2 a,
                    h3 a, h4 a, h5 a, h6 a, .list-a li .title, .list-b li .title, .slider-a li .title span,
                    .slider-a li .title, .list-c > li > span, .gallery-a li a > span');
            }
        }
        if ($body_typography['enable_body'] == 'yes') {
            //add/get body font
            if (!empty($body_typography['yes']['body_typography']['family']) && isset($body_typography['yes']['body_typography']['family'])) {
                if (!array_key_exists($body_typography['yes']['body_typography']['family'], $fonts_links)) {
                    $fonts_links[$body_typography['yes']['body_typography']['family']][] = $body_typography['yes']['body_typography']['style'];
                    $body = fw_theme_css_fonts($body_typography['yes']['body_typography'], 'body, textarea,
                        input, select, option, button, .download-a li.as, .nav-a > ul li.has-span a,
                        .js .search-a label, .news-a header ul li a, .news-a header ul li
                        ');
                }
            }
        }
        //google font link
        if (!empty($fonts_links)) {
            $html .= "<link href='http://fonts.googleapis.com/css?family=";
            //get each font
            foreach ($fonts_links as $font => $style) {
                $html .= str_replace(' ', '+', $font) . ':' . implode(',', $style) . '|';
            }
            $html = substr($html, 0, -1);
            $html .= "' rel='stylesheet' type='text/css'>";
        }
        if (isset($_GET['color']) && !empty($_GET['color'])) {
            $color_scheme = $_GET['color'];
        } elseif (isset($color['schemes'])) {
            $color_scheme = $color['schemes'];
        } else {
            $color_scheme = '';
        }
        if (!empty($color_scheme)) {
            if ($color_scheme == 'custom') {
                $styles .= '
                    #contact input:focus, #contact select:focus, #contact textarea:focus,
                    #contact .semantic-select.focus .input, #contact .semantic-select.active .input,
                    input:focus, select:focus, textarea:focus, .semantic-select.focus .input, .semantic-select.active .input,
                    .mc4wp-form .form-b input:focus
                    { border-color: ' . $color['custom']['styling'] . '; }

                    .comments-a .date, .counter > span span, .gallery-c ul li > div .link,
                    .heading-a h1 .small, .heading-a h2 .small, .heading-a h3 .small,.nav-a h1 em,
                     .nav-a h2 em, .nav-a h3 em, .nav-a h4 em, .nav-a > ul, .nav-a.widget_nav_menu div > ul,
                    .nav-a > ul li p.link-a, .nav-a.widget_nav_menu div > ul li p.link-a,
                    .nav-a > ul li p.link-a a, .nav-a.widget_nav_menu div > ul li p.link-a a,
                    .nav-a > ul li p.link-a em, .nav-a > ul li p.link-a i, .nav-a.widget_nav_menu div > ul li p.link-a em,
                    .nav-a.widget_nav_menu div > ul li p.link-a i, .nav-a > ul li a span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li a span.scheme-a, .nav-a > ul li a:hover span, .nav-a > ul li.active a span ,
                    .nav-a.widget_nav_menu div > ul li a:hover span, .nav-a.widget_nav_menu div > ul li.active a span,
                    #root .nav-a > ul.sub-menu li a:hover, #root .nav-a.widget_nav_menu > ul.sub-menu li.active a, #root .nav-a div > ul.sub-menu li a:hover,
                    #root .nav-a div > ul.sub-menu li.active a, .nav-a > ul.sub-menu li i:before, .nav-a.widget_nav_menu div > ul.sub-menu li i:before,
                    .nav-a b, #root .widget_recent_comments > ul li a:hover, #root .widget_recent_comments > ul li.active a,
                    .nav-a.aside-cal h1 + h2, .nav-a.aside-cal h2 + h3, .nav-a.aside-cal h3 + h4, .nav-a.aside-cal h4 + h5,
                    #root .nav-a.aside-cal ul li a:hover, #root .nav-a.aside-cal ul li.active a, .news-a header ul li a:hover,
                    .news-a header ul li i, .news-a header ul li i:before, .news-b article header p span, ins, mark, .scheme-a, a,
                    .list-a li i, #root .search-a button, .is-sticky, aside .widget_calendar caption, aside .widget_calendar thead th,
                    .nav-a.widget_nav_menu ul li ul.sub-menu li  a:hover, .nav-a.widget_categories ul li ul.children li  a:hover,
                    #clone nav > ul > li.active > a, #clone nav > ul > li:hover > a, #clone nav > ul > li > a:hover
                    { color: ' . $color['custom']['styling'] . '; }

                    .counter > span span:before, .gallery-a li a:before, .gallery-a li.plain a .date:before,
                    .gallery-b li:before, .gallery-c ul li:before, .gallery-b.b > li > div:before,
                    #root .gallery-b li > .fit-a:before, #root .gallery-b li > .fit-a:after,
                    .gallery-c .bx-pager .bx-pager-item a.active, .news-d .bx-pager-item a.active,
                    .gallery-a .bx-pager-item a.active, .gallery-b .bx-pager-item a.active,.heading-a h1:before,
                    .heading-a h2:before, .heading-a h3:before, .nav-a > ul li a:hover, .nav-a > ul li.active a,
                    .nav-a div.widget_nav_menu > ul li a:hover, .nav-a.widget_nav_menu div > ul li.active a,
                    news-b article h1:before, .news-b article h2:before, .news-b article h3:before, .news-b article h5:before,
                    #content.page-template.a .news-c article, .news-d article h1:before, .news-d article h2:before, .news-d article h3:before,
                    .news-d article h4:before, .news-d article h5:before, .news-d article h6:before, .news-e header figure:before,
                    .news-e h1:before, .news-e h2:before, .news-e h3:before, .pagination-a li a:hover, .pagination-a li .current,.slider-ba,
                    .link-a a:hover, .list-a li a:hover i, .list-b li .no, .list-c  li  span span, .list-c  li  a:hover,
                    button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, #root .semantic-select ul li a:hover,
                    #root .semantic-select ul li.active a, .fancybox-title-over-wrap, #fancybox-thumbs ul li a, #contact .wpcf7-submit:hover,
                    #featured, #root #clone nav > ul > li.sub:hover > a, #clone nav > ul > li.a > a, #clone nav > ul > li > ul
                    {background:  ' . $color['custom']['styling'] . '; }

                    #clone nav > ul > li:hover.a > a{color: #fff;}

                    #fancybox-buttons ul { border: 1px solid ' . $color['custom']['styling'] . '; }
                    #fancybox-buttons a.btnToggle, #fancybox-buttons a.btnClose { border-left: 1px solid ' . $color['custom']['styling'] . '; }

                    ::selection { background: ' . $color['custom']['styling'] . '; }
                    ::-moz-selection { background: ' . $color['custom']['styling'] . ';}

                    .download-a li a:hover, .social-a li a:hover, .nav-a.widget_nav_menu ul li a:hover,
                    .nav-a.widget_nav_menu ul li.active a,.nav-a.widget_nav_menu div > ul li a:hover span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li.active a span.scheme-a,#root .widget_tag_cloud > div a:hover
                    { background-color: ' . $color['custom']['styling'] . '; }

                    #root .gallery-b li > .fit-a {border: 1px solid ' . $color['custom']['styling'] . ';}

                    .pagination-a li a, .pagination-a li span { border: 1px solid ' . $color['custom']['styling'] . '; color: ' . $color['custom']['styling'] . ';}

                    .link-a a {border: 1px solid ' . $color['custom']['styling'] . '; color: ' . $color['custom']['styling'] . ';}
                    .link-a.a a { border: 2px solid ' . $color['custom']['styling'] . '; }
                    .list-c  li  a {border: 2px solid ' . $color['custom']['styling'] . '; color: ' . $color['custom']['styling'] . ';}
                    button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid ' . $color['custom']['styling'] . ';color: ' . $color['custom']['styling'] . ';}
                    .semantic-select ul {border: 1px solid ' . $color['custom']['styling'] . ';}

                    #contact .wpcf7-submit {
                        border: 1px solid ' . $color['custom']['styling'] . ';
                        color: ' . $color['custom']['styling'] . ';
                    }

                    #top > .fit-a:before, #top > .fit-a:after, #clone > .fit-a:before, #clone > .fit-a:after {
                        border-bottom: 3px solid ' . $color['custom']['styling'] . ';
                    }

                    #top > .fit-a:before, #clone > .fit-a:before {
                        border-top: 3px solid ' . $color['custom']['styling'] . ';
                    }

                    #top.active > .fit-a:after, #clone.active > .fit-a:after,
                     #top.active > .fit-a:before, #clone.active > .fit-a:before{
                        background: ' . $color['custom']['styling'] . ';
                    }

                    @media only screen and (max-width: 47.5em) {
                        #root #nav > ul > li > ul li a:hover, #root #nav > ul > li > ul li.active { color: ' . $color['custom']['styling'] . '; }
                    }
                ';
            } elseif ($color_scheme == 'blue') {
                $styles .= '
                    #contact input:focus, #contact select:focus, #contact textarea:focus,
                    #contact .semantic-select.focus .input, #contact .semantic-select.active .input,
                    input:focus, select:focus, textarea:focus, .semantic-select.focus .input, .semantic-select.active .input,
                    .mc4wp-form .form-b input:focus
                    { border-color: #00aae6; }
                    
                    .comments-a .date, .counter > span span, .gallery-c ul li > div .link,
                    .heading-a h1 .small, .heading-a h2 .small, .heading-a h3 .small,.nav-a h1 em,
                    .nav-a h2 em, .nav-a h3 em, .nav-a h4 em, .nav-a > ul, .nav-a.widget_nav_menu div > ul,
                    .nav-a > ul li p.link-a, .nav-a.widget_nav_menu div > ul li p.link-a,
                    .nav-a > ul li p.link-a a, .nav-a.widget_nav_menu div > ul li p.link-a a,
                    .nav-a > ul li p.link-a em, .nav-a > ul li p.link-a i, .nav-a.widget_nav_menu div > ul li p.link-a em,
                    .nav-a.widget_nav_menu div > ul li p.link-a i, .nav-a > ul li a span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li a span.scheme-a, .nav-a > ul li a:hover span, .nav-a > ul li.active a span ,
                    .nav-a.widget_nav_menu div > ul li a:hover span, .nav-a.widget_nav_menu div > ul li.active a span,
                    #root .nav-a > ul.sub-menu li a:hover, #root .nav-a.widget_nav_menu > ul.sub-menu li.active a, #root .nav-a div > ul.sub-menu li a:hover,
                    #root .nav-a div > ul.sub-menu li.active a, .nav-a > ul.sub-menu li i:before, .nav-a.widget_nav_menu div > ul.sub-menu li i:before,
                    .nav-a b, #root .widget_recent_comments > ul li a:hover, #root .widget_recent_comments > ul li.active a,
                    .nav-a.aside-cal h1 + h2, .nav-a.aside-cal h2 + h3, .nav-a.aside-cal h3 + h4, .nav-a.aside-cal h4 + h5,
                    #root .nav-a.aside-cal ul li a:hover, #root .nav-a.aside-cal ul li.active a, .news-a header ul li a:hover,
                    .news-a header ul li i, .news-a header ul li i:before, .news-b article header p span, ins, mark, .scheme-a, a,
                    .list-a li i, #root .search-a button, .is-sticky, aside .widget_calendar caption, aside .widget_calendar thead th,
                    .nav-a.widget_nav_menu ul li ul.sub-menu li  a:hover, .nav-a.widget_categories ul li ul.children li  a:hover,
                    #clone nav > ul > li.active > a, #clone nav > ul > li:hover > a, #clone nav > ul > li > a:hover
                    { color: #00aae6; }
                    
                    .counter > span span:before, .gallery-a li a:before, .gallery-a li.plain a .date:before,
                    .gallery-b li:before, .gallery-c ul li:before, .gallery-b.b > li > div:before,
                    #root .gallery-b li > .fit-a:before, #root .gallery-b li > .fit-a:after,
                    .gallery-c .bx-pager .bx-pager-item a.active, .news-d .bx-pager-item a.active,
                    .gallery-a .bx-pager-item a.active, .gallery-b .bx-pager-item a.active,.heading-a h1:before,
                    .heading-a h2:before, .heading-a h3:before, .nav-a > ul li a:hover, .nav-a > ul li.active a,
                    .nav-a div.widget_nav_menu > ul li a:hover, .nav-a.widget_nav_menu div > ul li.active a,
                    news-b article h1:before, .news-b article h2:before, .news-b article h3:before, .news-b article h5:before,
                    #content.page-template.a .news-c article, .news-d article h1:before, .news-d article h2:before, .news-d article h3:before,
                    .news-d article h4:before, .news-d article h5:before, .news-d article h6:before, .news-e header figure:before,
                    .news-e h1:before, .news-e h2:before, .news-e h3:before, .pagination-a li a:hover, .pagination-a li .current,.slider-ba,
                    .link-a a:hover, .list-a li a:hover i, .list-b li .no, .list-c  li  span span, .list-c  li  a:hover,
                    button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, #root .semantic-select ul li a:hover,
                    #root .semantic-select ul li.active a, .fancybox-title-over-wrap, #fancybox-thumbs ul li a, #contact .wpcf7-submit:hover,
                    #featured, #root #clone nav > ul > li.sub:hover > a, #clone nav > ul > li.a > a, #clone nav > ul > li > ul
                    {background:  #00aae6; }
                    
                    #clone nav > ul > li:hover.a > a{color: #fff;}
                    
                    #fancybox-buttons ul { border: 1px solid #00aae6; }
                    #fancybox-buttons a.btnToggle, #fancybox-buttons a.btnClose { border-left: 1px solid #00aae6; }
                    
                    ::selection { background: #00aae6 !important; }
                    ::-moz-selection { background: #00aae6 !important;}
                    
                    .download-a li a:hover, .social-a li a:hover, .nav-a.widget_nav_menu ul li a:hover,
                    .nav-a.widget_nav_menu ul li.active a,.nav-a.widget_nav_menu div > ul li a:hover span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li.active a span.scheme-a,#root .widget_tag_cloud > div a:hover
                    { background-color: #00aae6; }
                    
                    #root .gallery-b li > .fit-a {border: 1px solid #00aae6;}
                    
                    .pagination-a li a, .pagination-a li span { border: 1px solid #00aae6; color: #00aae6;}
                    
                    .link-a a {border: 1px solid #00aae6; color: #00aae6;}
                    .link-a.a a { border: 2px solid #00aae6; }
                    .list-c  li  a {border: 2px solid #00aae6; color: #00aae6;}
                    button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid #00aae6;color: #00aae6;}
                    .semantic-select ul {border: 1px solid #00aae6;}
                    
                    #contact .wpcf7-submit {
                        border: 1px solid #00aae6;
                        color: #00aae6;
                    }
                    
                    #top > .fit-a:before, #top > .fit-a:after, #clone > .fit-a:before, #clone > .fit-a:after {
                        border-bottom: 3px solid #00aae6;
                    }
                    
                    #top > .fit-a:before, #clone > .fit-a:before {
                        border-top: 3px solid #00aae6;
                    }
                    
                    #top.active > .fit-a:after, #clone.active > .fit-a:after,
                    #top.active > .fit-a:before, #clone.active > .fit-a:before{
                        background: #00aae6;
                    }
                    
                    @media only screen and (max-width: 47.5em) {
                        #root #nav > ul > li > ul li a:hover, #root #nav > ul > li > ul li.active { color: #00aae6; }
                    }
                    
                    #content.page-template.a article#welcome{
                        background: -moz-linear-gradient(-45deg, #47c4f0 0%, #9fe3fd 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#47c4f0), color-stop(100%,#9fe3fd));
                        background: -webkit-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: -o-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: -ms-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: linear-gradient(135deg, #47c4f0 0%,#9fe3fd 100%);
                    }
                    
                    #content.page-template.a article#welcome:before{
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #services{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #about.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    
                    #features{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #testimonials.vb{
                        background: -moz-linear-gradient(-45deg, #47c4f0 0%, #9fe3fd 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#47c4f0), color-stop(100%,#9fe3fd));
                        background: -webkit-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: -o-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: -ms-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: linear-gradient(135deg, #47c4f0 0%,#9fe3fd 100%);
                    }
                    
                    #content.a #testimonials.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #carousel3d{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #zoom.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #video_bg.vid{
                        background: -moz-linear-gradient(-45deg, #523035 0%, #523035 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#523035), color-stop(100%,#523035));
                        background: -webkit-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: -o-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: -ms-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: linear-gradient(135deg, #523035 0%,#523035 100%);
                    }
                    
                    
                    
                    #blog{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #newsletter.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #twitter.vb{
                    
                        background: -moz-linear-gradient(-45deg, #47c4f0 0%, #9fe3fd 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#47c4f0), color-stop(100%,#9fe3fd));
                        background: -webkit-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: -o-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: -ms-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: linear-gradient(135deg, #47c4f0 0%,#9fe3fd 100%);
                    }
                    
                    #content.a #twitter.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #content.a #pricing.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #numbers.vb{
                    
                        background: -moz-linear-gradient(-45deg, #47c4f0 0%, #9fe3fd 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#47c4f0), color-stop(100%,#9fe3fd));
                        background: -webkit-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: -o-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: -ms-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                        background: linear-gradient(135deg, #47c4f0 0%,#9fe3fd 100%);
                    }
                    
                    #content.a #numbers.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    #content.page-template.a article#featured, #featured{
                        background: -moz-linear-gradient(-45deg, #47c4f0 0%, #9fe3fd 100%);
                          background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#47c4f0), color-stop(100%,#9fe3fd));
                          background: -webkit-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                          background: -o-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                          background: -ms-linear-gradient(-45deg, #47c4f0 0%,#9fe3fd 100%);
                          background: linear-gradient(135deg, #47c4f0 0%,#9fe3fd 100%);
                    }
                ';
            } elseif ($color_scheme == 'cyan') {
                $styles .= '
                    #contact input:focus, #contact select:focus, #contact textarea:focus,
                    #contact .semantic-select.focus .input, #contact .semantic-select.active .input,
                    input:focus, select:focus, textarea:focus, .semantic-select.focus .input, .semantic-select.active .input,
                    .mc4wp-form .form-b input:focus
                    { border-color: #5fcac1; }
                    
                    .comments-a .date, .counter > span span, .gallery-c ul li > div .link,
                    .heading-a h1 .small, .heading-a h2 .small, .heading-a h3 .small,.nav-a h1 em,
                    .nav-a h2 em, .nav-a h3 em, .nav-a h4 em, .nav-a > ul, .nav-a.widget_nav_menu div > ul,
                    .nav-a > ul li p.link-a, .nav-a.widget_nav_menu div > ul li p.link-a,
                    .nav-a > ul li p.link-a a, .nav-a.widget_nav_menu div > ul li p.link-a a,
                    .nav-a > ul li p.link-a em, .nav-a > ul li p.link-a i, .nav-a.widget_nav_menu div > ul li p.link-a em,
                    .nav-a.widget_nav_menu div > ul li p.link-a i, .nav-a > ul li a span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li a span.scheme-a, .nav-a > ul li a:hover span, .nav-a > ul li.active a span ,
                    .nav-a.widget_nav_menu div > ul li a:hover span, .nav-a.widget_nav_menu div > ul li.active a span,
                    #root .nav-a > ul.sub-menu li a:hover, #root .nav-a.widget_nav_menu > ul.sub-menu li.active a, #root .nav-a div > ul.sub-menu li a:hover,
                    #root .nav-a div > ul.sub-menu li.active a, .nav-a > ul.sub-menu li i:before, .nav-a.widget_nav_menu div > ul.sub-menu li i:before,
                    .nav-a b, #root .widget_recent_comments > ul li a:hover, #root .widget_recent_comments > ul li.active a,
                    .nav-a.aside-cal h1 + h2, .nav-a.aside-cal h2 + h3, .nav-a.aside-cal h3 + h4, .nav-a.aside-cal h4 + h5,
                    #root .nav-a.aside-cal ul li a:hover, #root .nav-a.aside-cal ul li.active a, .news-a header ul li a:hover,
                    .news-a header ul li i, .news-a header ul li i:before, .news-b article header p span, ins, mark, .scheme-a, a,
                    .list-a li i, #root .search-a button, .is-sticky, aside .widget_calendar caption, aside .widget_calendar thead th,
                    .nav-a.widget_nav_menu ul li ul.sub-menu li  a:hover, .nav-a.widget_categories ul li ul.children li  a:hover,
                    #clone nav > ul > li.active > a, #clone nav > ul > li:hover > a, #clone nav > ul > li > a:hover
                    { color: #5fcac1; }
                    
                    .counter > span span:before, .gallery-a li a:before, .gallery-a li.plain a .date:before,
                    .gallery-b li:before, .gallery-c ul li:before, .gallery-b.b > li > div:before,
                    #root .gallery-b li > .fit-a:before, #root .gallery-b li > .fit-a:after,
                    .gallery-c .bx-pager .bx-pager-item a.active, .news-d .bx-pager-item a.active,
                    .gallery-a .bx-pager-item a.active, .gallery-b .bx-pager-item a.active,.heading-a h1:before,
                    .heading-a h2:before, .heading-a h3:before, .nav-a > ul li a:hover, .nav-a > ul li.active a,
                    .nav-a div.widget_nav_menu > ul li a:hover, .nav-a.widget_nav_menu div > ul li.active a,
                    news-b article h1:before, .news-b article h2:before, .news-b article h3:before, .news-b article h5:before,
                    #content.page-template.a .news-c article, .news-d article h1:before, .news-d article h2:before, .news-d article h3:before,
                    .news-d article h4:before, .news-d article h5:before, .news-d article h6:before, .news-e header figure:before,
                    .news-e h1:before, .news-e h2:before, .news-e h3:before, .pagination-a li a:hover, .pagination-a li .current,.slider-ba,
                    .link-a a:hover, .list-a li a:hover i, .list-b li .no, .list-c  li  span span, .list-c  li  a:hover,
                    button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, #root .semantic-select ul li a:hover,
                    #root .semantic-select ul li.active a, .fancybox-title-over-wrap, #fancybox-thumbs ul li a, #contact .wpcf7-submit:hover,
                    #featured, #root #clone nav > ul > li.sub:hover > a, #clone nav > ul > li.a > a, #clone nav > ul > li > ul
                    {background:  #5fcac1; }
                    
                    #clone nav > ul > li:hover.a > a{color: #fff;}
                    
                    #fancybox-buttons ul { border: 1px solid #5fcac1; }
                    #fancybox-buttons a.btnToggle, #fancybox-buttons a.btnClose { border-left: 1px solid #5fcac1; }
                    
                    ::selection { background: #5fcac1; }
                    ::-moz-selection { background: #5fcac1;}
                    
                    .download-a li a:hover, .social-a li a:hover, .nav-a.widget_nav_menu ul li a:hover,
                    .nav-a.widget_nav_menu ul li.active a,.nav-a.widget_nav_menu div > ul li a:hover span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li.active a span.scheme-a,#root .widget_tag_cloud > div a:hover
                    { background-color: #5fcac1; }
                    
                    #root .gallery-b li > .fit-a {border: 1px solid #5fcac1;}
                    
                    .pagination-a li a, .pagination-a li span { border: 1px solid #5fcac1; color: #5fcac1;}
                    
                    .link-a a {border: 1px solid #5fcac1; color: #5fcac1;}
                    .link-a.a a { border: 2px solid #5fcac1; }
                    .list-c  li  a {border: 2px solid #5fcac1; color: #5fcac1;}
                    button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid #5fcac1;color: #5fcac1;}
                    .semantic-select ul {border: 1px solid #5fcac1;}
                    
                    #contact .wpcf7-submit {
                        border: 1px solid #5fcac1;
                        color: #5fcac1;
                    }
                    
                    #top > .fit-a:before, #top > .fit-a:after, #clone > .fit-a:before, #clone > .fit-a:after {
                        border-bottom: 3px solid #5fcac1;
                    }
                    
                    #top > .fit-a:before, #clone > .fit-a:before {
                        border-top: 3px solid #5fcac1;
                    }
                    
                    #top.active > .fit-a:after, #clone.active > .fit-a:after,
                    #top.active > .fit-a:before, #clone.active > .fit-a:before{
                        background: #5fcac1;
                    }
                    
                    @media only screen and (max-width: 47.5em) {
                        #root #nav > ul > li > ul li a:hover, #root #nav > ul > li > ul li.active { color: #5fcac1; }
                    }
                    #content.page-template.a article#welcome{
                        background: -moz-linear-gradient(-45deg, #35b8b0 0%, #1c799d 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#35b8b0), color-stop(100%,#1c799d));
                        background: -webkit-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: -o-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: -ms-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: linear-gradient(135deg, #35b8b0 0%,#1c799d 100%);
                    }
                    
                    #content.page-template.a article#welcome:before{
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #services{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    .members{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    .members{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #about.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    
                    #features{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #testimonials.vb{
                        background: -moz-linear-gradient(-45deg, #35b8b0 0%, #1c799d 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#35b8b0), color-stop(100%,#1c799d));
                        background: -webkit-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: -o-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: -ms-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: linear-gradient(135deg, #35b8b0 0%,#1c799d 100%);
                    }
                    
                    #content.a #testimonials.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #carousel3d{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #zoom.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    #content.a #video_bg.vid{
                        background: -moz-linear-gradient(-45deg, #523035 0%, #523035 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#523035), color-stop(100%,#523035));
                        background: -webkit-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: -o-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: -ms-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: linear-gradient(135deg, #523035 0%,#523035 100%);
                    }
                    #portfolio{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    #content.a #newsletter.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    #content.a #twitter.vb{
                    
                        background: -moz-linear-gradient(-45deg, #35b8b0 0%, #1c799d 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#35b8b0), color-stop(100%,#1c799d));
                        background: -webkit-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: -o-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: -ms-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: linear-gradient(135deg, #35b8b0 0%,#1c799d 100%);
                    }
                    #content.a #twitter.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #content.a #pricing.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    #content.a #numbers.vb{
                    
                        background: -moz-linear-gradient(-45deg, #35b8b0 0%, #1c799d 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#35b8b0), color-stop(100%,#1c799d));
                        background: -webkit-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: -o-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: -ms-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                        background: linear-gradient(135deg, #35b8b0 0%,#1c799d 100%);
                    }
                    #content.a #numbers.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #content.page-template.a article#featured, #featured{
                          background: -moz-linear-gradient(-45deg, #35b8b0 0%, #1c799d 100%);
                          background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#35b8b0), color-stop(100%,#1c799d));
                          background: -webkit-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                          background: -o-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                          background: -ms-linear-gradient(-45deg, #35b8b0 0%,#1c799d 100%);
                          background: linear-gradient(135deg, #35b8b0 0%,#1c799d 100%);
                    }
                ';
            } elseif ($color_scheme == 'green') {
                $styles .= '
                    #contact input:focus, #contact select:focus, #contact textarea:focus,
                    #contact .semantic-select.focus .input, #contact .semantic-select.active .input,
                    input:focus, select:focus, textarea:focus, .semantic-select.focus .input, .semantic-select.active .input,
                    .mc4wp-form .form-b input:focus
                    { border-color: #afc625; }
                    
                    .comments-a .date, .counter > span span, .gallery-c ul li > div .link,
                    .heading-a h1 .small, .heading-a h2 .small, .heading-a h3 .small,.nav-a h1 em,
                    .nav-a h2 em, .nav-a h3 em, .nav-a h4 em, .nav-a > ul, .nav-a.widget_nav_menu div > ul,
                    .nav-a > ul li p.link-a, .nav-a.widget_nav_menu div > ul li p.link-a,
                    .nav-a > ul li p.link-a a, .nav-a.widget_nav_menu div > ul li p.link-a a,
                    .nav-a > ul li p.link-a em, .nav-a > ul li p.link-a i, .nav-a.widget_nav_menu div > ul li p.link-a em,
                    .nav-a.widget_nav_menu div > ul li p.link-a i, .nav-a > ul li a span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li a span.scheme-a, .nav-a > ul li a:hover span, .nav-a > ul li.active a span ,
                    .nav-a.widget_nav_menu div > ul li a:hover span, .nav-a.widget_nav_menu div > ul li.active a span,
                    #root .nav-a > ul.sub-menu li a:hover, #root .nav-a.widget_nav_menu > ul.sub-menu li.active a, #root .nav-a div > ul.sub-menu li a:hover,
                    #root .nav-a div > ul.sub-menu li.active a, .nav-a > ul.sub-menu li i:before, .nav-a.widget_nav_menu div > ul.sub-menu li i:before,
                    .nav-a b, #root .widget_recent_comments > ul li a:hover, #root .widget_recent_comments > ul li.active a,
                    .nav-a.aside-cal h1 + h2, .nav-a.aside-cal h2 + h3, .nav-a.aside-cal h3 + h4, .nav-a.aside-cal h4 + h5,
                    #root .nav-a.aside-cal ul li a:hover, #root .nav-a.aside-cal ul li.active a, .news-a header ul li a:hover,
                    .news-a header ul li i, .news-a header ul li i:before, .news-b article header p span, ins, mark, .scheme-a, a,
                    .list-a li i, #root .search-a button, .is-sticky, aside .widget_calendar caption, aside .widget_calendar thead th,
                    .nav-a.widget_nav_menu ul li ul.sub-menu li  a:hover, .nav-a.widget_categories ul li ul.children li  a:hover,
                    #clone nav > ul > li.active > a, #clone nav > ul > li:hover > a, #clone nav > ul > li > a:hover
                    { color: #afc625; }
                    
                    .counter > span span:before, .gallery-a li a:before, .gallery-a li.plain a .date:before,
                    .gallery-b li:before, .gallery-c ul li:before, .gallery-b.b > li > div:before,
                    #root .gallery-b li > .fit-a:before, #root .gallery-b li > .fit-a:after,
                    .gallery-c .bx-pager .bx-pager-item a.active, .news-d .bx-pager-item a.active,
                    .gallery-a .bx-pager-item a.active, .gallery-b .bx-pager-item a.active,.heading-a h1:before,
                    .heading-a h2:before, .heading-a h3:before, .nav-a > ul li a:hover, .nav-a > ul li.active a,
                    .nav-a div.widget_nav_menu > ul li a:hover, .nav-a.widget_nav_menu div > ul li.active a,
                    news-b article h1:before, .news-b article h2:before, .news-b article h3:before, .news-b article h5:before,
                    #content.page-template.a .news-c article, .news-d article h1:before, .news-d article h2:before, .news-d article h3:before,
                    .news-d article h4:before, .news-d article h5:before, .news-d article h6:before, .news-e header figure:before,
                    .news-e h1:before, .news-e h2:before, .news-e h3:before, .pagination-a li a:hover, .pagination-a li .current,.slider-ba,
                    .link-a a:hover, .list-a li a:hover i, .list-b li .no, .list-c  li  span span, .list-c  li  a:hover,
                    button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, #root .semantic-select ul li a:hover,
                    #root .semantic-select ul li.active a, .fancybox-title-over-wrap, #fancybox-thumbs ul li a, #contact .wpcf7-submit:hover,
                    #featured, #root #clone nav > ul > li.sub:hover > a, #clone nav > ul > li.a > a, #clone nav > ul > li > ul
                    {background:  #afc625; }
                    
                    #clone nav > ul > li:hover.a > a{color: #fff;}
                    
                    #fancybox-buttons ul { border: 1px solid #afc625; }
                    #fancybox-buttons a.btnToggle, #fancybox-buttons a.btnClose { border-left: 1px solid #afc625; }
                    
                    ::selection { background: #afc625; }
                    ::-moz-selection { background: #afc625;}
                    
                    .download-a li a:hover, .social-a li a:hover, .nav-a.widget_nav_menu ul li a:hover,
                    .nav-a.widget_nav_menu ul li.active a,.nav-a.widget_nav_menu div > ul li a:hover span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li.active a span.scheme-a,#root .widget_tag_cloud > div a:hover
                    { background-color: #afc625; }
                    
                    #root .gallery-b li > .fit-a {border: 1px solid #afc625;}
                    
                    .pagination-a li a, .pagination-a li span { border: 1px solid #afc625; color: #afc625;}
                    
                    .link-a a {border: 1px solid #afc625; color: #afc625;}
                    .link-a.a a { border: 2px solid #afc625; }
                    .list-c  li  a {border: 2px solid #afc625; color: #afc625;}
                    button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid #afc625;color: #afc625;}
                    .semantic-select ul {border: 1px solid #afc625;}
                    
                    #contact .wpcf7-submit {
                        border: 1px solid #afc625;
                        color: #afc625;
                    }
                    
                    #top > .fit-a:before, #top > .fit-a:after, #clone > .fit-a:before, #clone > .fit-a:after {
                        border-bottom: 3px solid #afc625;
                    }
                    
                    #top > .fit-a:before, #clone > .fit-a:before {
                        border-top: 3px solid #afc625;
                    }
                    
                    #top.active > .fit-a:after, #clone.active > .fit-a:after,
                    #top.active > .fit-a:before, #clone.active > .fit-a:before{
                        background: #afc625;
                    }
                    
                    @media only screen and (max-width: 47.5em) {
                        #root #nav > ul > li > ul li a:hover, #root #nav > ul > li > ul li.active { color: #afc625; }
                    }
                    #content.page-template.a article#welcome{
                        background: -moz-linear-gradient(-45deg, #8ec64e 0%, #41aba0 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#8ec64e), color-stop(100%,#41aba0));
                        background: -webkit-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: -o-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: -ms-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: linear-gradient(135deg, #8ec64e 0%,#41aba0 100%);
                    }
                    
                    #content.page-template.a article#welcome:before{
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #services{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    .members{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #about.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    
                    #features{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #testimonials.vb{
                        background: -moz-linear-gradient(-45deg, #8ec64e 0%, #41aba0 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#8ec64e), color-stop(100%,#41aba0));
                        background: -webkit-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: -o-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: -ms-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: linear-gradient(135deg, #8ec64e 0%,#41aba0 100%);
                    }
                    
                    #content.a #testimonials.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #carousel3d{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #zoom.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #video_bg.vid{
                        background: -moz-linear-gradient(-45deg, #523035 0%, #523035 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#523035), color-stop(100%,#523035));
                        background: -webkit-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: -o-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: -ms-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: linear-gradient(135deg, #523035 0%,#523035 100%);
                    }
                    
                    
                    
                    #blog{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #newsletter.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #twitter.vb{
                    
                        background: -moz-linear-gradient(-45deg, #8ec64e 0%, #41aba0 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#8ec64e), color-stop(100%,#41aba0));
                        background: -webkit-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: -o-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: -ms-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: linear-gradient(135deg, #8ec64e 0%,#41aba0 100%);
                    }
                    
                    #content.a #twitter.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #content.a #pricing.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #numbers.vb{
                    
                        background: -moz-linear-gradient(-45deg, #8ec64e 0%, #41aba0 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#8ec64e), color-stop(100%,#41aba0));
                        background: -webkit-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: -o-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: -ms-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: linear-gradient(135deg, #8ec64e 0%,#41aba0 100%);
                    }
                    
                    #content.a #numbers.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #content.page-template.a article#featured, #featured{
                          background: -moz-linear-gradient(-45deg, #8ec64e 0%, #41aba0 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#8ec64e), color-stop(100%,#41aba0));
                        background: -webkit-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: -o-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: -ms-linear-gradient(-45deg, #8ec64e 0%,#41aba0 100%);
                        background: linear-gradient(135deg, #8ec64e 0%,#41aba0 100%);
                    }

                ';
            } elseif ($color_scheme == 'magenta') {
                $styles .= '
                    #contact input:focus, #contact select:focus, #contact textarea:focus,
                    #contact .semantic-select.focus .input, #contact .semantic-select.active .input,
                    input:focus, select:focus, textarea:focus, .semantic-select.focus .input, .semantic-select.active .input,
                    .mc4wp-form .form-b input:focus
                    { border-color: #f1435e; }
                    
                    .comments-a .date, .counter > span span, .gallery-c ul li > div .link,
                    .heading-a h1 .small, .heading-a h2 .small, .heading-a h3 .small,.nav-a h1 em,
                    .nav-a h2 em, .nav-a h3 em, .nav-a h4 em, .nav-a > ul, .nav-a.widget_nav_menu div > ul,
                    .nav-a > ul li p.link-a, .nav-a.widget_nav_menu div > ul li p.link-a,
                    .nav-a > ul li p.link-a a, .nav-a.widget_nav_menu div > ul li p.link-a a,
                    .nav-a > ul li p.link-a em, .nav-a > ul li p.link-a i, .nav-a.widget_nav_menu div > ul li p.link-a em,
                    .nav-a.widget_nav_menu div > ul li p.link-a i, .nav-a > ul li a span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li a span.scheme-a, .nav-a > ul li a:hover span, .nav-a > ul li.active a span ,
                    .nav-a.widget_nav_menu div > ul li a:hover span, .nav-a.widget_nav_menu div > ul li.active a span,
                    #root .nav-a > ul.sub-menu li a:hover, #root .nav-a.widget_nav_menu > ul.sub-menu li.active a, #root .nav-a div > ul.sub-menu li a:hover,
                    #root .nav-a div > ul.sub-menu li.active a, .nav-a > ul.sub-menu li i:before, .nav-a.widget_nav_menu div > ul.sub-menu li i:before,
                    .nav-a b, #root .widget_recent_comments > ul li a:hover, #root .widget_recent_comments > ul li.active a,
                    .nav-a.aside-cal h1 + h2, .nav-a.aside-cal h2 + h3, .nav-a.aside-cal h3 + h4, .nav-a.aside-cal h4 + h5,
                    #root .nav-a.aside-cal ul li a:hover, #root .nav-a.aside-cal ul li.active a, .news-a header ul li a:hover,
                    .news-a header ul li i, .news-a header ul li i:before, .news-b article header p span, ins, mark, .scheme-a, a,
                    .list-a li i, #root .search-a button, .is-sticky, aside .widget_calendar caption, aside .widget_calendar thead th,
                    .nav-a.widget_nav_menu ul li ul.sub-menu li  a:hover, .nav-a.widget_categories ul li ul.children li  a:hover,
                    #clone nav > ul > li.active > a, #clone nav > ul > li:hover > a, #clone nav > ul > li > a:hover
                    { color: #f1435e; }
                    
                    .counter > span span:before, .gallery-a li a:before, .gallery-a li.plain a .date:before,
                    .gallery-b li:before, .gallery-c ul li:before, .gallery-b.b > li > div:before,
                    #root .gallery-b li > .fit-a:before, #root .gallery-b li > .fit-a:after,
                    .gallery-c .bx-pager .bx-pager-item a.active, .news-d .bx-pager-item a.active,
                    .gallery-a .bx-pager-item a.active, .gallery-b .bx-pager-item a.active,.heading-a h1:before,
                    .heading-a h2:before, .heading-a h3:before, .nav-a > ul li a:hover, .nav-a > ul li.active a,
                    .nav-a div.widget_nav_menu > ul li a:hover, .nav-a.widget_nav_menu div > ul li.active a,
                    news-b article h1:before, .news-b article h2:before, .news-b article h3:before, .news-b article h5:before,
                    #content.page-template.a .news-c article, .news-d article h1:before, .news-d article h2:before, .news-d article h3:before,
                    .news-d article h4:before, .news-d article h5:before, .news-d article h6:before, .news-e header figure:before,
                    .news-e h1:before, .news-e h2:before, .news-e h3:before, .pagination-a li a:hover, .pagination-a li .current,.slider-ba,
                    .link-a a:hover, .list-a li a:hover i, .list-b li .no, .list-c  li  span span, .list-c  li  a:hover,
                    button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, #root .semantic-select ul li a:hover,
                    #root .semantic-select ul li.active a, .fancybox-title-over-wrap, #fancybox-thumbs ul li a, #contact .wpcf7-submit:hover,
                    #featured, #root #clone nav > ul > li.sub:hover > a, #clone nav > ul > li.a > a, #clone nav > ul > li > ul
                    {background:  #f1435e; }
                    
                    #clone nav > ul > li:hover.a > a{color: #fff;}
                    
                    #fancybox-buttons ul { border: 1px solid #f1435e; }
                    #fancybox-buttons a.btnToggle, #fancybox-buttons a.btnClose { border-left: 1px solid #f1435e; }
                    
                    ::selection { background: #f1435e; }
                    ::-moz-selection { background: #f1435e;}
                    
                    .download-a li a:hover, .social-a li a:hover, .nav-a.widget_nav_menu ul li a:hover,
                    .nav-a.widget_nav_menu ul li.active a,.nav-a.widget_nav_menu div > ul li a:hover span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li.active a span.scheme-a,#root .widget_tag_cloud > div a:hover
                    { background-color: #f1435e; }
                    
                    #root .gallery-b li > .fit-a {border: 1px solid #f1435e;}
                    
                    .pagination-a li a, .pagination-a li span { border: 1px solid #f1435e; color: #f1435e;}
                    
                    .link-a a {border: 1px solid #f1435e; color: #f1435e;}
                    .link-a.a a { border: 2px solid #f1435e; }
                    .list-c  li  a {border: 2px solid #f1435e; color: #f1435e;}
                    button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid #f1435e;color: #f1435e;}
                    .semantic-select ul {border: 1px solid #f1435e;}
                    
                    #contact .wpcf7-submit {
                        border: 1px solid #f1435e;
                        color: #f1435e;
                    }
                    
                    #top > .fit-a:before, #top > .fit-a:after, #clone > .fit-a:before, #clone > .fit-a:after {
                        border-bottom: 3px solid #f1435e;
                    }
                    
                    #top > .fit-a:before, #clone > .fit-a:before {
                        border-top: 3px solid #f1435e;
                    }
                    
                    #top.active > .fit-a:after, #clone.active > .fit-a:after,
                    #top.active > .fit-a:before, #clone.active > .fit-a:before{
                        background: #f1435e;
                    }
                    
                    @media only screen and (max-width: 47.5em) {
                        #root #nav > ul > li > ul li a:hover, #root #nav > ul > li > ul li.active { color: #f1435e; }
                    }
                    #content.page-template.a article#welcome{
                        background: -moz-linear-gradient(-45deg, #f1435e 0%, #f1435e 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f1435e), color-stop(100%,#f1435e));
                        background: -webkit-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: -o-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: -ms-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: linear-gradient(135deg, #f1435e 0%,#f1435e 100%);
                        background-image: url(' . get_template_directory_uri() . '/images/pattern.jpg);                }
                    
                    
                    #services{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #about.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    
                    #features{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #testimonials.vb{
                        background: -moz-linear-gradient(-45deg, #f1435e 0%, #f1435e 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f1435e), color-stop(100%,#f1435e));
                        background: -webkit-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: -o-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: -ms-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: linear-gradient(135deg, #f1435e 0%,#f1435e 100%);
                        background-image: url(' . get_template_directory_uri() . '/images/pattern.jpg);        }
                    
                    
                    #carousel3d{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #zoom.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #video_bg.vid{
                        background: -moz-linear-gradient(-45deg, #523035 0%, #523035 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#523035), color-stop(100%,#523035));
                        background: -webkit-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: -o-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: -ms-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: linear-gradient(135deg, #523035 0%,#523035 100%);
                    }
                    
                    
                    
                    #blog{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #newsletter.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #twitter.vb{
                    
                        background: -moz-linear-gradient(-45deg, #f1435e 0%, #f1435e 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f1435e), color-stop(100%,#f1435e));
                        background: -webkit-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: -o-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: -ms-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: linear-gradient(135deg, #f1435e 0%,#f1435e 100%);
                        background-image: url(' . get_template_directory_uri() . '/images/pattern.jpg);            }
                    
                    
                    #content.a #pricing.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #numbers.vb{
                    
                        background: -moz-linear-gradient(-45deg, #f1435e 0%, #f1435e 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f1435e), color-stop(100%,#f1435e));
                        background: -webkit-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: -o-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: -ms-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: linear-gradient(135deg, #f1435e 0%,#f1435e 100%);
                        background-image: url(' . get_template_directory_uri() . '/images/pattern.jpg);            }
                    

                    #content.page-template.a article#featured, #featured{
                        background: -moz-linear-gradient(-45deg, #f1435e 0%, #f1435e 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f1435e), color-stop(100%,#f1435e));
                        background: -webkit-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: -o-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: -ms-linear-gradient(-45deg, #f1435e 0%,#f1435e 100%);
                        background: linear-gradient(135deg, #f1435e 0%,#f1435e 100%);
                        background-image: url(' . get_template_directory_uri() . '/images/pattern.jpg); 
                    }
                ';
            } elseif ($color_scheme == 'red') {
                $styles .= '
                    #contact input:focus, #contact select:focus, #contact textarea:focus,
                    #contact .semantic-select.focus .input, #contact .semantic-select.active .input,
                    input:focus, select:focus, textarea:focus, .semantic-select.focus .input, .semantic-select.active .input,
                    .mc4wp-form .form-b input:focus
                    { border-color: #f43c43; }
                    
                    .comments-a .date, .counter > span span, .gallery-c ul li > div .link,
                    .heading-a h1 .small, .heading-a h2 .small, .heading-a h3 .small,.nav-a h1 em,
                    .nav-a h2 em, .nav-a h3 em, .nav-a h4 em, .nav-a > ul, .nav-a.widget_nav_menu div > ul,
                    .nav-a > ul li p.link-a, .nav-a.widget_nav_menu div > ul li p.link-a,
                    .nav-a > ul li p.link-a a, .nav-a.widget_nav_menu div > ul li p.link-a a,
                    .nav-a > ul li p.link-a em, .nav-a > ul li p.link-a i, .nav-a.widget_nav_menu div > ul li p.link-a em,
                    .nav-a.widget_nav_menu div > ul li p.link-a i, .nav-a > ul li a span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li a span.scheme-a, .nav-a > ul li a:hover span, .nav-a > ul li.active a span ,
                    .nav-a.widget_nav_menu div > ul li a:hover span, .nav-a.widget_nav_menu div > ul li.active a span,
                    #root .nav-a > ul.sub-menu li a:hover, #root .nav-a.widget_nav_menu > ul.sub-menu li.active a, #root .nav-a div > ul.sub-menu li a:hover,
                    #root .nav-a div > ul.sub-menu li.active a, .nav-a > ul.sub-menu li i:before, .nav-a.widget_nav_menu div > ul.sub-menu li i:before,
                    .nav-a b, #root .widget_recent_comments > ul li a:hover, #root .widget_recent_comments > ul li.active a,
                    .nav-a.aside-cal h1 + h2, .nav-a.aside-cal h2 + h3, .nav-a.aside-cal h3 + h4, .nav-a.aside-cal h4 + h5,
                    #root .nav-a.aside-cal ul li a:hover, #root .nav-a.aside-cal ul li.active a, .news-a header ul li a:hover,
                    .news-a header ul li i, .news-a header ul li i:before, .news-b article header p span, ins, mark, .scheme-a, a,
                    .list-a li i, #root .search-a button, .is-sticky, aside .widget_calendar caption, aside .widget_calendar thead th,
                    .nav-a.widget_nav_menu ul li ul.sub-menu li  a:hover, .nav-a.widget_categories ul li ul.children li  a:hover,
                    #clone nav > ul > li.active > a, #clone nav > ul > li:hover > a, #clone nav > ul > li > a:hover
                    { color: #f43c43; }
                    
                    .counter > span span:before, .gallery-a li a:before, .gallery-a li.plain a .date:before,
                    .gallery-b li:before, .gallery-c ul li:before, .gallery-b.b > li > div:before,
                    #root .gallery-b li > .fit-a:before, #root .gallery-b li > .fit-a:after,
                    .gallery-c .bx-pager .bx-pager-item a.active, .news-d .bx-pager-item a.active,
                    .gallery-a .bx-pager-item a.active, .gallery-b .bx-pager-item a.active,.heading-a h1:before,
                    .heading-a h2:before, .heading-a h3:before, .nav-a > ul li a:hover, .nav-a > ul li.active a,
                    .nav-a div.widget_nav_menu > ul li a:hover, .nav-a.widget_nav_menu div > ul li.active a,
                    news-b article h1:before, .news-b article h2:before, .news-b article h3:before, .news-b article h5:before,
                    #content.page-template.a .news-c article, .news-d article h1:before, .news-d article h2:before, .news-d article h3:before,
                    .news-d article h4:before, .news-d article h5:before, .news-d article h6:before, .news-e header figure:before,
                    .news-e h1:before, .news-e h2:before, .news-e h3:before, .pagination-a li a:hover, .pagination-a li .current,.slider-ba,
                    .link-a a:hover, .list-a li a:hover i, .list-b li .no, .list-c  li  span span, .list-c  li  a:hover,
                    button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, #root .semantic-select ul li a:hover,
                    #root .semantic-select ul li.active a, .fancybox-title-over-wrap, #fancybox-thumbs ul li a, #contact .wpcf7-submit:hover,
                    #featured, #root #clone nav > ul > li.sub:hover > a, #clone nav > ul > li.a > a, #clone nav > ul > li > ul
                    {background:  #f43c43; }
                    
                    #clone nav > ul > li:hover.a > a{color: #fff;}
                    
                    #fancybox-buttons ul { border: 1px solid #f43c43; }
                    #fancybox-buttons a.btnToggle, #fancybox-buttons a.btnClose { border-left: 1px solid #f43c43; }
                    
                    ::selection { background: #f43c43; }
                    ::-moz-selection { background: #f43c43;}
                    
                    .download-a li a:hover, .social-a li a:hover, .nav-a.widget_nav_menu ul li a:hover,
                    .nav-a.widget_nav_menu ul li.active a,.nav-a.widget_nav_menu div > ul li a:hover span.scheme-a,
                    .nav-a.widget_nav_menu div > ul li.active a span.scheme-a,#root .widget_tag_cloud > div a:hover
                    { background-color: #f43c43; }
                    
                    #root .gallery-b li > .fit-a {border: 1px solid #f43c43;}
                    
                    .pagination-a li a, .pagination-a li span { border: 1px solid #f43c43; color: #f43c43;}
                    
                    .link-a a {border: 1px solid #f43c43; color: #f43c43;}
                    .link-a.a a { border: 2px solid #f43c43; }
                    .list-c  li  a {border: 2px solid #f43c43; color: #f43c43;}
                    button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid #f43c43;color: #f43c43;}
                    .semantic-select ul {border: 1px solid #f43c43;}
                    
                    #contact .wpcf7-submit {
                        border: 1px solid #f43c43;
                        color: #f43c43;
                    }
                    
                    #top > .fit-a:before, #top > .fit-a:after, #clone > .fit-a:before, #clone > .fit-a:after {
                        border-bottom: 3px solid #f43c43;
                    }
                    
                    #top > .fit-a:before, #clone > .fit-a:before {
                        border-top: 3px solid #f43c43;
                    }
                    
                    #top.active > .fit-a:after, #clone.active > .fit-a:after,
                    #top.active > .fit-a:before, #clone.active > .fit-a:before{
                        background: #f43c43;
                    }
                    
                    @media only screen and (max-width: 47.5em) {
                        #root #nav > ul > li > ul li a:hover, #root #nav > ul > li > ul li.active { color: #f43c43; }
                    }
                    
                    #content.page-template.a article#welcome{
                        background: -moz-linear-gradient(-45deg, #fe2d58 0%, #ff5132 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#fe2d58), color-stop(100%,#ff5132));
                        background: -webkit-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: -o-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: -ms-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: linear-gradient(135deg, #fe2d58 0%,#ff5132 100%);
                    }
                    
                    #content.page-template.a article#welcome:before{
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #services{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    .members{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #about.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    
                    #features{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #testimonials.vb{
                        background: -moz-linear-gradient(-45deg, #fe2d58 0%, #ff5132 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#fe2d58), color-stop(100%,#ff5132));
                        background: -webkit-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: -o-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: -ms-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: linear-gradient(135deg, #fe2d58 0%,#ff5132 100%);
                    }
                    
                    #content.a #testimonials.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #carousel3d{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #zoom.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #video_bg.vid{
                        background: -moz-linear-gradient(-45deg, #523035 0%, #523035 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#523035), color-stop(100%,#523035));
                        background: -webkit-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: -o-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: -ms-linear-gradient(-45deg, #523035 0%,#523035 100%);
                        background: linear-gradient(135deg, #523035 0%,#523035 100%);
                    }
                    
                    
                    
                    #blog{
                        background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#ffffff));
                        background: -webkit-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -o-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: -ms-linear-gradient(-45deg, #ffffff 0%,#ffffff 100%);
                        background: linear-gradient(135deg, #ffffff 0%,#ffffff 100%);
                    }
                    
                    
                    #content.a #newsletter.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    
                    #content.a #twitter.vb{
                    
                        background: -moz-linear-gradient(-45deg, #fe2d58 0%, #ff5132 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#fe2d58), color-stop(100%,#ff5132));
                        background: -webkit-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: -o-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: -ms-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: linear-gradient(135deg, #fe2d58 0%,#ff5132 100%);
                    }
                    
                    #content.a #twitter.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }
                    
                    #content.a #pricing.va{
                        background: -moz-linear-gradient(-45deg, #f4f4f4 0%, #f4f4f4 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f4f4f4), color-stop(100%,#f4f4f4));
                        background: -webkit-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -o-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: -ms-linear-gradient(-45deg, #f4f4f4 0%,#f4f4f4 100%);
                        background: linear-gradient(135deg, #f4f4f4 0%,#f4f4f4 100%);
                    }
                    
                    #content.a #numbers.vb{
                    
                        background: -moz-linear-gradient(-45deg, #fe2d58 0%, #ff5132 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#fe2d58), color-stop(100%,#ff5132));
                        background: -webkit-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: -o-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: -ms-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: linear-gradient(135deg, #fe2d58 0%,#ff5132 100%);
                    }
                    
                    #content.a #numbers.vb:before{
                        content: "";
                        display: block;
                        position: absolute;
                        left: 0;
                        top: 0;
                        z-index: 1;
                        width: 100%;
                        height: 100%;
                        background: url(' . get_template_directory_uri() . '/images/pattern.png);
                    }

                    #content.page-template.a article#featured, #featured{
                        background: -moz-linear-gradient(-45deg, #fe2d58 0%, #ff5132 100%);
                        background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#fe2d58), color-stop(100%,#ff5132));
                        background: -webkit-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: -o-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: -ms-linear-gradient(-45deg, #fe2d58 0%,#ff5132 100%);
                        background: linear-gradient(135deg, #fe2d58 0%,#ff5132 100%);
                    }
                ';
            }
        }
        //menut text color
        if (!empty($menu_text_color)) {
            $styles .= '
                #nav > ul > li.current-menu-item > a, #nav > ul > li > a,
                #nav > ul > li > a:hover, #nav > ul > li.active > a, #nav > ul > li:hover > a
                { color: ' . $menu_text_color . '; }
                #nav > ul > li > ul li a{
                  color: ' . $menu_text_color . ';
                }
            ';
        }
        if (!empty($menu_bg)) {
            $styles .= '
                #nav > ul > li > a:hover, #nav > ul > li.active > a, #nav > ul > li:hover > a,
                #nav > ul > li > ul
                {background: ' . $menu_bg . ';}
            ';
        }
        //sticky menu bg color
        if (!empty($menu_sticky_bg)) {
            $styles .= '
                #clone {background: ' . $menu_sticky_bg . '}
            ';
        }
        //sticky menu text color
        if (!empty($menu_sticky_text)) {
            $styles .= '
                #clone nav > ul > li > a, #root #clone nav > ul > li.sub:hover > a,
                #clone nav > ul > li:hover > a, #clone nav > ul > li > a:hover,
                #clone nav > ul > li > ul li a, #clone nav > ul > li > ul > li > ul a,
                #clone nav > ul > li:hover.a > a, #clone nav > ul > li.a > a
                 {color: ' . $menu_sticky_text . '}
            ';
        }
        //output theme color styles
        echo $html;
        if (!empty($body) || !empty($headings) || !empty($styles)) {
            echo '<style type="text/css">
                    ' . $body . '
                    ' . $headings . '
                    ' . $styles . '
                 </style>';
        }
    }
コード例 #11
0
ファイル: backend.php プロジェクト: isatrio/Unyson
 public function _settings_form_save($data)
 {
     $flash_id = 'fw_settings_form_save';
     $old_values = (array) fw_get_db_settings_option();
     if (!empty($_POST['_fw_reset_options'])) {
         // The "Reset" button was pressed
         fw_set_db_settings_option(null, array());
         FW_Flash_Messages::add($flash_id, __('The options were successfully reset', 'fw'), 'success');
         do_action('fw_settings_form_reset', $old_values);
     } else {
         // The "Save" button was pressed
         fw_set_db_settings_option(null, fw_get_options_values_from_input(fw()->theme->get_settings_options()));
         FW_Flash_Messages::add($flash_id, __('The options were successfully saved', 'fw'), 'success');
         do_action('fw_settings_form_saved', $old_values);
     }
     $redirect_url = fw_current_url();
     $data['redirect'] = $redirect_url;
     return $data;
 }
コード例 #12
0
ファイル: header.php プロジェクト: northpen/project_11
.menu-main-page div ul a, .sidr ul li a, h1, a#sidr-menu {
    color: <?php 
    echo fw_get_db_settings_option('main-color');
    ?>
 !important;
}
a#sidr-menu { background: <?php 
    echo $rgb_main_bg;
    ?>
 !important; }
<?php 
}
?>
.cate-fw-portfolio a { color: <?php 
echo fw_get_db_settings_option('main-color');
?>
 }
</style>

<?php 
wp_head();
?>
</head>

<body <?php 
body_class();
?>
>
<div id="page-preloader"><span class="spinner"></span></div>
<div id="page" class="hfeed site">
コード例 #13
0
<?php

if (!defined('FW')) {
    die('Forbidden');
}
$options = array('header_blog_color' => array('type' => 'gradient', 'value' => array('primary' => '#000000', 'secondary' => '#000000'), 'label' => __('Header Color', 'fw'), 'desc' => __('Choose header color background', 'fw'), 'value' => fw_get_db_settings_option('header_blog_color')), 'header_blog_image' => array('label' => __('Header Image', 'fw'), 'desc' => __('Upload header image.', 'fw'), 'type' => 'upload', 'value' => fw_get_db_settings_option('header_blog_image')), 'header_blog_pattern' => array('label' => __('Header Pattern', 'fw'), 'desc' => __('Upload header pattern.', 'fw'), 'type' => 'upload', 'value' => fw_get_db_settings_option('header_blog_pattern')), 'blog-subtitle' => array('label' => __('Subtitle', 'fw'), 'desc' => __('Add category subtitle.', 'fw'), 'type' => 'text', 'value' => fw_get_db_settings_option('blog-subtitle')), 'blog-description' => array('label' => __('Short Description', 'fw'), 'desc' => __('Add category short description.', 'fw'), 'type' => 'textarea', 'value' => fw_get_db_settings_option('blog-description')));
コード例 #14
0
function starry_extrafooter()
{
    $extrafooter = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafooter') : '';
    $extrafooterexept = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafooterexept') : '';
    if (!empty($extrafooterexept)) {
        if (!is_page($extrafooterexept) && $extrafooter == "show") {
            $extrafootertitle = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafootertitle') : '';
            if (!empty($extrafootertitle)) {
                echo '<div class="container">';
                echo '<h2 class="with-breaker animate-me fadeInUp">';
                $extrafootersubtitle = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafootersubtitle') : '';
                echo esc_html($extrafootertitle) . '<span>' . esc_html($extrafootersubtitle) . '</span>';
                echo '</h2>';
                echo '</div>';
            }
            echo '<section class="contact-container with-separation-bottom with-separation-top">';
            echo '<div class="contact-boxes">';
            $extrafooterbox = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafooterbox') : '';
            foreach ($extrafooterbox as $value) {
                echo '<div class="contact-box animate-me zoomIn ' . $value['extrafooterboxicon'] . ' ' . starry_clean($value['extrafooterboxtitle']) . '">';
                echo '<style type = "text/css" scoped>';
                echo '.' . starry_clean($value['extrafooterboxtitle']) . '{background-color: ' . $value['extrafooterboxbg'] . ';} ';
                echo '.' . starry_clean($value['extrafooterboxtitle']) . ' a.btn.btn-default:hover{ color: ' . $value['extrafooterboxbg'] . ';}';
                echo '</style>';
                echo '<h2>' . esc_html($value['extrafooterboxtitle']) . '</h2>';
                echo '<p>' . esc_html($value['extrafooterboxcontent']) . '</p>';
                echo '<a href="' . esc_url($value['extrafooterboxbuttonlink']) . '" class="btn btn-default" target="_blank"><i class="' . $value['extrafooterboxicon'] . '"></i> ' . esc_html($value['extrafooterboxbuttontitle']) . '</a>';
                echo '</div>';
            }
            echo '</div>';
            echo '</section>';
        }
    } else {
        if ($extrafooter == "show") {
            $extrafootertitle = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafootertitle') : '';
            if (!empty($extrafootertitle)) {
                echo '<div class="container">';
                echo '<h2 class="with-breaker animate-me fadeInUp">';
                $extrafootersubtitle = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafootersubtitle') : '';
                echo esc_html($extrafootertitle) . '<span>' . esc_html($extrafootersubtitle) . '</span>';
                echo '</h2>';
                echo '</div>';
            }
            echo '<section class="contact-container with-separation-bottom with-separation-top">';
            echo '<div class="contact-boxes">';
            $extrafooterbox = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('extrafooterbox') : '';
            foreach ($extrafooterbox as $value) {
                echo '<div class="contact-box animate-me zoomIn ' . $value['extrafooterboxicon'] . ' ' . starry_clean($value['extrafooterboxtitle']) . '">';
                echo '<style type = "text/css" scoped>';
                echo '.' . starry_clean($value['extrafooterboxtitle']) . '{background-color: ' . $value['extrafooterboxbg'] . ';} ';
                echo '.' . starry_clean($value['extrafooterboxtitle']) . ' a.btn.btn-default:hover{ color: ' . $value['extrafooterboxbg'] . ';}';
                echo '</style>';
                echo '<h2>' . esc_html($value['extrafooterboxtitle']) . '</h2>';
                echo '<p>' . esc_html($value['extrafooterboxcontent']) . '</p>';
                echo '<a href="' . esc_url($value['extrafooterboxbuttonlink']) . '" class="btn btn-default" target="_blank"><i class="' . $value['extrafooterboxicon'] . '"></i> ' . esc_html($value['extrafooterboxbuttontitle']) . '</a>';
                echo '</div>';
            }
            echo '</div>';
            echo '</section>';
        }
    }
}
コード例 #15
0
    if (!empty($address3)) {
        echo "<br>";
        echo $address3;
    }
    ?>
			</li>
		<?php 
}
?>
		<?php 
if (!empty($contact_phone)) {
    ?>
			<li class="contact-phone">
				<?php 
    // GET SETTINGS SET IN WORDPRESS
    $phone = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('phone') : '';
    echo $phone;
    ?>
			</li>
		<?php 
}
?>
	</ul>
	<?php 
if (!empty($contact_social)) {
    ?>
		<?php 
    starry_social_icons();
    ?>
	<?php 
}
コード例 #16
0
    echo esc_html($atts['title']);
    ?>
<span><?php 
    echo esc_html($atts['subtitle']);
    ?>
</span>
			</h2>
		<?php 
}
?>
		<table id="skills-container" class="skills">
			<?php 
$html_begin_row = '<tr class="skills-row">' . "\n";
$html_end_row = '</tr>' . "\n";
// THE WORDPRESS QUERY
$skillsorder = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('skillsorder') : '';
if (!empty($atts['category'])) {
    query_posts(array('skills-category' => $atts['category'], 'post_type' => 'skills', 'posts_per_page' => -1, 'orderby' => 'date', 'order' => $skillsorder));
} else {
    query_posts(array('post_type' => 'skills', 'posts_per_page' => -1, 'orderby' => 'date', 'order' => $skillsorder));
}
$h = 0;
if (have_posts()) {
    while (have_posts()) {
        the_post();
        if ($h > 0 && !is_float($h / 3)) {
            print $html_end_row;
        }
        if (!is_float($h / 3)) {
            print $html_begin_row;
        }
コード例 #17
0
<?php

if (!defined('FW')) {
    die('Forbidden');
}
$options = array('main' => array('title' => false, 'type' => 'box', 'priority' => 'high', 'context' => 'normal', 'options' => array('settings' => array('title' => __('Header Settings', 'fw'), 'type' => 'tab', 'options' => array('header_portf_post_color' => array('type' => 'gradient', 'value' => array('primary' => '#000000', 'secondary' => '#000000'), 'label' => __('Header Color', 'fw'), 'desc' => __('Choose header color background', 'fw'), 'value' => fw_get_db_settings_option('header_portf_post_color')), 'header_portf_post_image' => array('label' => __('Header Image', 'fw'), 'desc' => __('Upload header image', 'fw'), 'type' => 'upload', 'value' => fw_get_db_settings_option('header_portf_post_image')), 'header_portf_post_pattern' => array('label' => __('Header Pattern', 'fw'), 'desc' => __('Upload header pattern', 'fw'), 'type' => 'upload', 'value' => fw_get_db_settings_option('header_portf_post_pattern')), 'header_portf_post_title' => array('label' => __('Header Title', 'fw'), 'desc' => __('Add header title here', 'fw'), 'type' => 'text', 'value' => fw_get_db_settings_option('header_portf_post_title')))))));
コード例 #18
0
ファイル: functions.php プロジェクト: HilderH/emprendamos
function get_prefooter_content()
{
    $prefooter = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('tf_prefooter/tf_switch') : '';
    $value = fw_get_db_settings_option('tf_prefooter/' . $prefooter);
    if ($prefooter === 'yes') {
        ?>
		<div class="pre-footer">
			<div class="container">
				<div class="row">
					<?php 
        $pre = $value['tf_prefooter_content']['tf_select'];
        $slider = $value['tf_prefooter_content'][$pre]['tf_content'];
        if ($pre === 'tf_slider') {
            echo fw_ext('slider')->render_slider($slider, array('width' => 300, 'height' => 200));
        } else {
            echo $slider;
        }
        ?>
				</div>
			</div>
		</div>
	<?php 
    }
}
コード例 #19
0
ファイル: header.php プロジェクト: HilderH/emprendamos
-->

				<?php 
    $logo_pos = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('tf_logo_position') : '';
    ?>
				
				<h1 class="site-title" style="text-align: <?php 
    echo $logo_pos;
    ?>
"><a href="<?php 
    echo esc_url(home_url('/'));
    ?>
" rel="home"><?php 
    if (function_exists('fw_get_db_settings_option')) {
        $picked = fw_get_db_settings_option('tf_logo_switch/gadget');
        $value = fw_get_db_settings_option('tf_logo_switch/' . $picked);
        if ($picked === 'tf_logo_img') {
            echo '<img src="' . $value['tf_logo']['url'] . '"</img>';
        } else {
            echo $value['tf_logo'];
        }
    } else {
        echo bloginfo('name');
    }
    ?>
				</a></h1>
				
			<!--<?php 
} else {
    ?>
				<p class="site-title"><a href="<?php 
コード例 #20
0
ファイル: hooks.php プロジェクト: chrisuehlein/couponsite
 function _action_ssd_process_google_fonts()
 {
     $include_from_google = array();
     $google_fonts = fw_get_google_fonts();
     $body_font = fw_get_db_settings_option('body_font');
     $heading_font = fw_get_db_settings_option('heading_font');
     // if is google font
     if (isset($google_fonts[$body_font['family']])) {
         $include_from_google[$body_font['family']] = $google_fonts[$body_font['family']];
     }
     if (isset($google_fonts[$heading_font['family']])) {
         $include_from_google[$heading_font['family']] = $google_fonts[$heading_font['family']];
     }
     $google_fonts_links = fw_ssd_get_remote_fonts($include_from_google);
     // set a option in db for save google fonts link
     update_option('fw_ssd_google_fonts_link', $google_fonts_links);
 }
コード例 #21
0
ファイル: search.php プロジェクト: setcomunicacao/setdigital
    <section id="content" <?php 
echo $blog_view == 'blog2' ? 'class="news-b"' : '';
?>
>

        <header class="heading-a">
            <h3><span class="small"><?php 
echo $header_title;
?>
</span>
                <?php 
echo defined('FW') ? fw_theme_translate(fw_get_db_settings_option('search-description')) : '';
?>
            </h3>
            <p><?php 
echo defined('FW') ? fw_theme_translate(esc_html(fw_get_db_settings_option('search-subtitle'))) : '';
?>
</p>
        </header>

        <?php 
if ($blog_view == 'blog1') {
    ?>
        <div class="cols-a <?php 
    echo $sidebar_position === 'left' ? 'news-e-left' : '';
    ?>
 <?php 
    echo $sidebar_position == null || $sidebar_position == 'full' ? 'news-e-full' : '';
    ?>
">
            <div class="news-e">
コード例 #22
0
ファイル: single.php プロジェクト: setcomunicacao/setdigital
<?php

/**
 * The Template for displaying all single posts
 */
get_header();
$header_image = defined('FW') ? fw_get_db_post_option($post->ID, 'header_post_image', fw_get_db_settings_option('header_post_image')) : '';
$header_color = defined('FW') ? fw_get_db_post_option($post->ID, 'header_post_color', fw_get_db_settings_option('header_post_color')) : '';
$header_pattern = defined('FW') ? fw_get_db_post_option($post->ID, 'header_post_pattern', fw_get_db_settings_option('header_post_pattern')) : '';
$header_title = defined('FW') ? esc_html(fw_get_db_post_option($post->ID, 'header_post_title', fw_get_db_settings_option('header_post_title'))) : '';
//show header image
fw_show_header($header_image, $header_color, $header_pattern, $header_title);
?>


<?php 
$sidebar_position = function_exists('fw_ext_sidebars_get_current_position') ? fw_ext_sidebars_get_current_position() : 'right';
?>
<section id="content" class="cols-a <?php 
echo $sidebar_position === 'left' ? 'news-e-left' : '';
?>
 <?php 
echo $sidebar_position == null || $sidebar_position == 'full' ? 'news-e-full' : '';
?>
">
    <div class="news-a">
        <?php 
while (have_posts()) {
    the_post();
    get_template_part('content', 'single');
    // If comments are open, load up the comment template.
コード例 #23
0
ファイル: footer.php プロジェクト: annegrundhoefer/sayfe
            <?php 
    }
    ?>
            <?php 
    if (!empty($play_link)) {
        ?>
                <li class="gp"><a rel="external" target="_blank" href="<?php 
        echo esc_url($play_link);
        ?>
"></a></li>
            <?php 
    }
    ?>
        </ul>
    <?php 
}
?>

    <p><?php 
echo defined('FW') ? fw_theme_translate(fw_get_db_settings_option('copyright')) : '';
?>
</p>

</footer>

</div>
<?php 
wp_footer();
?>
</body>
</html>
コード例 #24
0
ファイル: content-intro.php プロジェクト: Jonnyonthe/sdcars
_e('All fields required!', 'fw');
?>
</strong> 
                            </div>

                            <!-- Car select start -->
                            <div class="styled-select-car">

                                <select name="car-select" id="car-select">
                                    <option value=""><?php 
_e('Select your car type', 'fw');
?>
</option>
                                    <?php 
if (defined('FW')) {
    $cars = fw_get_db_settings_option('car');
    foreach ($cars as $car) {
        if (!empty($car['car_image'])) {
            ?>
                                                <option value="<?php 
            echo esc_url($car['car_image']['url']);
            ?>
"><?php 
            echo esc_attr($car['car_name']);
            ?>
</option>
                                                <?php 
        }
    }
}
?>
コード例 #25
0
ファイル: archive.php プロジェクト: setcomunicacao/setdigital
//show header image
fw_show_header($header_image, $header_color, $header_pattern, $term->name);
?>

<article id="content">
    <header class="heading-a">
        <h3><span class="small"><?php 
echo $term->name;
?>
</span>
            <?php 
echo fw_theme_translate(fw_get_db_term_option($term_id, $taxonomy, 'portf-description', fw_get_db_settings_option('portf-description')));
?>
        </h3>
        <p><?php 
echo fw_theme_translate(esc_html(fw_get_db_term_option($term_id, $taxonomy, 'portf-subtitle', fw_get_db_settings_option('portf-subtitle'))));
?>
</p>
    </header>

    <ul class="gallery-a">

        <?php 
if (have_posts()) {
    ?>

            <?php 
    // Start the Loop.
    while (have_posts()) {
        the_post();
        get_template_part('framework-customizations/extensions' . $ext_portfolio_instance->get_rel_path() . '/views/loop', 'item');
コード例 #26
0
ファイル: archive.php プロジェクト: setcomunicacao/setdigital
>

        <?php 
if (is_category()) {
    ?>
            <header class="heading-a">
                <h3><span class="small"><?php 
    echo $header_title;
    ?>
</span>
                    <?php 
    echo defined('FW') ? fw_theme_translate(fw_get_db_term_option(get_query_var('cat'), 'category', 'blog-description', fw_get_db_settings_option('blog-description'))) : '';
    ?>
                </h3>
                <p><?php 
    echo defined('FW') ? fw_theme_translate(esc_html(fw_get_db_term_option(get_query_var('cat'), 'category', 'blog-subtitle', fw_get_db_settings_option('blog-subtitle')))) : '';
    ?>
</p>
            </header>
        <?php 
}
?>

        <?php 
if ($blog_view == 'blog1') {
    ?>
            <div class="cols-a <?php 
    echo $sidebar_position === 'left' ? 'news-e-left' : '';
    ?>
 <?php 
    echo $sidebar_position == null || $sidebar_position == 'full' ? 'news-e-full' : '';
コード例 #27
0
ファイル: header.php プロジェクト: outlinez/Unyson
    echo esc_attr(get_bloginfo('name'));
    ?>
">
		</a>
	</div>
	<?php 
}
?>

	<header id="masthead" class="site-header" role="banner">
		<div class="header-main">
			<h1 class="site-title"><a href="<?php 
echo esc_url(home_url('/'));
?>
" rel="home"><?php 
echo fw_get_db_settings_option('logo');
?>
</a></h1>

			<div class="search-toggle">
				<a href="#search-container" class="screen-reader-text"><?php 
_e('Search', 'unyson');
?>
</a>
			</div>

			<nav id="primary-navigation" class="site-navigation primary-navigation" role="navigation">
				<button class="menu-toggle"><?php 
_e('Primary Menu', 'unyson');
?>
</button>
コード例 #28
0
 /**
  * Init the titles-metas extension in frontend
  * This method get the location ( posts, pages, archives, taxonomies ) SEO metas and renders them in frontend
  * @internal
  */
 public function _action_add_meta()
 {
     $location = $this->get_parent()->get_location();
     $prefix = $this->get_name() . '-';
     $data = array();
     switch ($location['type']) {
         case 'front_page':
             $description = fw_ext_seo_parse_meta_tags(fw_get_db_settings_option($prefix . 'homepage-description'));
             if (!empty($description)) {
                 $data['description'] = array('content' => $description, 'name' => 'description');
             } elseif (isset($location['id'])) {
                 $description = fw_ext_seo_parse_meta_tags(fw_get_db_post_option($location['id'], $prefix . 'description'));
                 if (!empty($description)) {
                     $data['description'] = array('content' => $description, 'name' => 'description');
                 }
             }
             if ($this->get_admin_options('seo-titles-metas-metakeywords') === true) {
                 $meta_keywords = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'homepage-metakeywords'));
                 if (!empty($meta_keywords)) {
                     $data['keywords'] = array('content' => $meta_keywords, 'name' => 'keywords');
                 } elseif (isset($location['id'])) {
                     $meta_keywords = fw_ext_seo_parse_meta_tags(fw_get_db_post_option($location['id'], $prefix . 'metakeywords'));
                     if (!empty($meta_keywords)) {
                         $data['keywords'] = array('content' => $meta_keywords, 'name' => 'description');
                     }
                 }
             }
             break;
         case 'blog_page':
             $description = fw_ext_seo_parse_meta_tags(fw_get_db_post_option($location['id'], $prefix . 'description'));
             if (!empty($description)) {
                 $data['description'] = array('content' => $description, 'name' => 'description');
             }
             $meta_keywords = fw_ext_seo_parse_meta_tags(fw_get_db_post_option($location['id'], $prefix . 'metakeywords'));
             if (!empty($meta_keywords)) {
                 $data['keywords'] = array('content' => $meta_keywords, 'name' => 'description');
             }
             break;
         case 'author_archive':
             $description = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'author-archive-description'));
             if (!empty($description)) {
                 $data['description'] = array('content' => $description, 'name' => 'description');
             }
             if ($this->get_admin_options('seo-titles-metas-metakeywords') === true) {
                 $meta_keywords = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'author-archive-metakeywords'));
                 if (!empty($meta_keywords)) {
                     $data['keywords'] = array('content' => $meta_keywords, 'name' => 'keywords');
                 }
             }
             break;
         case 'date_archive':
             $description = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'date-archive-description'));
             if (!empty($description)) {
                 $data['description'] = array('content' => $description, 'name' => 'description');
             }
             if ($this->get_admin_options('seo-titles-metas-metakeywords') === true) {
                 $meta_keywords = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'date-archive-metakeywords'));
                 if (!empty($meta_keywords)) {
                     $data['keywords'] = array('content' => $meta_keywords, 'name' => 'keywords');
                 }
             }
             break;
         case 'singular':
             if (!in_array($location['post_type'], $this->allowed_post_types)) {
                 break;
             }
             $data = array();
             $description = fw_ext_seo_parse_meta_tags(fw_get_db_post_option($location['id'], $prefix . 'description'));
             if (empty($description)) {
                 $description = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . $location['post_type'] . '-description'));
             }
             if (!empty($description)) {
                 $data['description'] = array('content' => $description, 'name' => 'description');
             }
             $meta_keywords = fw_ext_seo_parse_meta_tags(fw_get_db_post_option($location['id'], $prefix . 'metakeywords'));
             if (empty($meta_keywords)) {
                 $meta_keywords = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . $location['post_type'] . '-metakeywords'));
             }
             if (!empty($meta_keywords)) {
                 $data['keywords'] = array('content' => $meta_keywords, 'name' => 'keywords');
             }
             $robots = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . $location['post_type'] . '-noindex'));
             if (!is_null($robots) && $robots == true) {
                 $data['robots'] = array('content' => 'noindex,follow', 'name' => 'robots');
             }
             break;
         case 'category':
             if (!in_array('post_tag', $this->allowed_taxonomies)) {
                 break;
             }
             $data = array();
             $description = fw_ext_seo_parse_meta_tags(fw_get_db_term_option($location['id'], 'category', $prefix . 'description'));
             if (empty($description)) {
                 $description = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'category-description'));
             }
             if (!empty($description)) {
                 $data['description'] = array('content' => $description, 'name' => 'description');
             }
             $meta_keywords = fw_ext_seo_parse_meta_tags(fw_get_db_term_option($location['id'], 'category', $prefix . 'metakeywords'));
             if (empty($meta_keywords)) {
                 $meta_keywords = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'category-metakeywords'));
             }
             if (!empty($meta_keywords)) {
                 $data['keywords'] = array('content' => $meta_keywords, 'name' => 'keywords');
             }
             $robots = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'category-noindex'));
             if (!is_null($robots) && $robots == true) {
                 $data['robots'] = array('content' => 'noindex,follow', 'name' => 'robots');
             }
             break;
         case 'tag':
             if (!in_array('post_tag', $this->allowed_taxonomies)) {
                 break;
             }
             $data = array();
             $description = fw_ext_seo_parse_meta_tags(fw_get_db_term_option($location['id'], 'post_tag', $prefix . 'description'));
             if (empty($description)) {
                 $description = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'post_tag-description'));
             }
             if (!empty($description)) {
                 $data['description'] = array('content' => $description, 'name' => 'description');
             }
             $meta_keywords = fw_ext_seo_parse_meta_tags(fw_get_db_term_option($location['id'], 'post_tag', $prefix . 'metakeywords'));
             if (empty($meta_keywords)) {
                 $meta_keywords = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'post_tag-metakeywords'));
             }
             if (!empty($meta_keywords)) {
                 $data['keywords'] = array('content' => $meta_keywords, 'name' => 'keywords');
             }
             $robots = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . 'post_tag-noindex'));
             if (!is_null($robots) && $robots == true) {
                 $data['robots'] = array('content' => 'noindex,follow', 'name' => 'robots');
             }
             break;
         case 'taxonomy':
             if (!in_array($location['taxonomy_type'], $this->allowed_taxonomies)) {
                 break;
             }
             $data = array();
             $description = fw_ext_seo_parse_meta_tags(fw_get_db_term_option($location['id'], $location['taxonomy_type'], $prefix . 'description'));
             if (empty($description)) {
                 $description = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . $location['taxonomy_type'] . '-description'));
             }
             if (!empty($description)) {
                 $data['description'] = array('content' => $description, 'name' => 'description');
             }
             $meta_keywords = fw_ext_seo_parse_meta_tags(fw_get_db_term_option($location['id'], $location['taxonomy_type'], $prefix . 'metakeywords'));
             if (empty($meta_keywords)) {
                 $meta_keywords = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . $location['taxonomy_type'] . '-metakeywords'));
             }
             if (!empty($meta_keywords)) {
                 $data['keywords'] = array('content' => $meta_keywords, 'name' => 'keywords');
             }
             $robots = fw_ext_seo_parse_meta_tags($this->get_admin_options($prefix . $location['taxonomy_type'] . '-noindex'));
             if (!is_null($robots) && $robots == true) {
                 $data['robots'] = array('content' => 'noindex,follow', 'name' => 'robots');
             }
             break;
     }
     $data = apply_filters('fw_ext_seo_titles_metas_load_metas', $data, $location);
     foreach ($data as $meta) {
         if (isset($meta['view'])) {
             echo $this->render_view($meta['view'], $meta);
         } else {
             echo $this->render_view('meta', $meta);
         }
     }
 }
コード例 #29
0
        ?>
</a></li>
		  				<li><a href="http://twitter.com/home/?status=<?php 
        the_title();
        ?>
" target="_blank" class="btn btn-default button-twitter"><i class="fa fa-twitter"></i> <?php 
        _e('Tweet it', 'starry');
        ?>
</a></li>
		  			</ul>
		  		<?php 
    }
    ?>
			</div>
			<!--POST CONTENT -->
			<?php 
    // GET DATA
    $bloglayout = function_exists('fw_get_db_settings_option') ? fw_get_db_settings_option('bloglayout') : '';
    ?>
			<div class="col-lg-<?php 
    echo $bloglayout == "horizontal" ? "6" : "12";
    ?>
 blog-content">
  				<?php 
    the_content();
    ?>
			</div>
		</div>
	</div>
<?php 
}
コード例 #30
-5
ファイル: backend.php プロジェクト: floq-design/Unyson
 public function _settings_form_save($data)
 {
     $flash_id = 'fw_settings_form_save';
     $old_values = (array) fw_get_db_settings_option();
     if (!empty($_POST['_fw_reset_options'])) {
         // The "Reset" button was pressed
         fw_set_db_settings_option(null, array());
         FW_Flash_Messages::add($flash_id, __('The options were successfully reset', 'fw'), 'success');
         do_action('fw_settings_form_reset', $old_values);
     } else {
         // The "Save" button was pressed
         fw_set_db_settings_option(null, array_merge($old_values, fw_get_options_values_from_input(fw()->theme->get_settings_options())));
         FW_Flash_Messages::add($flash_id, __('The options were successfully saved', 'fw'), 'success');
         do_action('fw_settings_form_saved', $old_values);
     }
     $redirect_url = fw_current_url();
     $focus_tab_input_name = '_focus_tab';
     $focus_tab_id = trim(FW_Request::POST($focus_tab_input_name));
     if (!empty($focus_tab_id)) {
         $redirect_url = add_query_arg($focus_tab_input_name, $focus_tab_id, remove_query_arg($focus_tab_input_name, $redirect_url));
     }
     $data['redirect'] = $redirect_url;
     return $data;
 }