Пример #1
0
?>
								</div>
							</div>

						</div>			
					</div>
				</div>
				<div class="menu-icon hidden-desktop"><i class="icon-reorder"></i></div>
			</div>

		</header>
		<div class="main-nav visible-desktop" style="border-top: 3px solid black; border-bottom: transparent;">
			<div class="">
				<div class="container">
					<div class="menu-wrapper menu-type<?php 
etheme_option('menu_type');
?>
">
						<div class="logo-with-menu">
							<?php 
etheme_logo();
?>
						</div>
						<?php 
if (has_nav_menu('main-menu')) {
    ?>
							<?php 
    wp_nav_menu(array('theme_location' => 'main-menu', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 4, 'fallback_cb' => false, 'walker' => new Et_Navigation()));
    ?>
						<?php 
} else {
Пример #2
0
    return;
}
?>
	<?php 
echo apply_filters('woocommerce_short_description', $post->post_excerpt);
?>
    <?php 
if (etheme_get_custom_field('_etheme_size_guide')) {
    ?>
        <div class="size_guide">
    	 <a rel="lightbox" href="<?php 
    etheme_option('size_guide_img');
    ?>
"><?php 
    _e('SIZING GUIDE', ETHEME_DOMAIN);
    ?>
</a>
        </div>
        <div class="size_guide sg_mobile">
    	 <a rel="lightbox" href="<?php 
    etheme_option('size_guide_img_mobile');
    ?>
"><?php 
    _e('SIZING GUIDE', ETHEME_DOMAIN);
    ?>
</a>
        </div>
    <?php 
}
?>
	
Пример #3
0
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.0.0
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
wc_print_notices();
?>

<?php 
do_action('woocommerce_cart_is_empty');
?>

<div class="empty-cart-block">
	<i class="icon-shopping-cart"></i>
	
	<?php 
etheme_option('empty_cart_content');
?>
	
	<p><a class="button arrow-left" href="<?php 
echo get_permalink(woocommerce_get_page_id('shop'));
?>
"><span><?php 
_e('Return To Shop', ETHEME_DOMAIN);
?>
</span></a></p>
	
</div>
Пример #4
0
function etheme_theme_settings_general_box()
{
    ?>
  
     <p><?php 
    _e("Site Layout:", ETHEME_DOMAIN);
    ?>
    	<select name="<?php 
    echo ETHEME_OPTIONS;
    ?>
[main_layout]">
    		<option value="wide" <?php 
    selected('wide', etheme_get_option('main_layout'));
    ?>
><?php 
    _e("wide", ETHEME_DOMAIN);
    ?>
</option>		
    		<option value="boxed" <?php 
    selected('boxed', etheme_get_option('main_layout'));
    ?>
><?php 
    _e("boxed", ETHEME_DOMAIN);
    ?>
</option>				
   		</select>
    </p>
    <hr />
	<p>
    <input type="checkbox" name="<?php 
    echo ETHEME_OPTIONS;
    ?>
[loader]" id="<?php 
    echo ETHEME_OPTIONS;
    ?>
[loader]" value="1" <?php 
    checked(1, etheme_get_option('loader'));
    ?>
 /> 
    <label for="<?php 
    echo ETHEME_OPTIONS;
    ?>
[loader]"><?php 
    _e("Show loader icon until site loading on mobile devices", ETHEME_DOMAIN);
    ?>
</label>
    </p>
    <p>
	<input type="checkbox" name="<?php 
    echo ETHEME_OPTIONS;
    ?>
[custom_css]" id="<?php 
    echo ETHEME_OPTIONS;
    ?>
[custom_css]" value="1" <?php 
    checked(1, etheme_get_option('custom_css'));
    ?>
 /> 
    <label for="<?php 
    echo ETHEME_OPTIONS;
    ?>
[custom_css]"><?php 
    _e("Enable Custom CSS file", ETHEME_DOMAIN);
    ?>
</label>
    </p>
    <p class="description">Enable this option to load "custom.css" file in which you can override the default styling of the theme. To create "custom.css" you can use the file "default.custom.css" which is located in theme directory.</p>
	<hr />
	<p>
    <input type="checkbox" name="<?php 
    echo ETHEME_OPTIONS;
    ?>
[just_catalog]" id="<?php 
    echo ETHEME_OPTIONS;
    ?>
[just_catalog]" value="1" <?php 
    checked(1, etheme_get_option('just_catalog'));
    ?>
 /> 
    <label for="<?php 
    echo ETHEME_OPTIONS;
    ?>
[just_catalog]"><?php 
    _e("Disable 'Add To Cart' button and shopping cart", ETHEME_DOMAIN);
    ?>
</label>
    <br />
    <span class="description">Enable this option to use your site only for catalog, without shopping options.</span>
    </p>
    <p><?php 
    _e("Use Google Font For Headings:", ETHEME_DOMAIN);
    ?>
    	<select name="<?php 
    echo ETHEME_OPTIONS;
    ?>
[google_font]">
    		<option value="" ><?php 
    _e("Select", ETHEME_DOMAIN);
    ?>
</option>
    		<option value="Courgette|Courgette" <?php 
    selected('Courgette|Courgette', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Courgette", ETHEME_DOMAIN);
    ?>
</option>		
    		<option value="Cantata+One|Cantata One" <?php 
    selected('Cantata+One|Cantata One', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Cantata One", ETHEME_DOMAIN);
    ?>
</option>		
    		<option value="Patrick+Hand|Patrick Hand" <?php 
    selected('Patrick+Hand|Patrick Hand', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Patrick Hand", ETHEME_DOMAIN);
    ?>
</option>		
    		<option value="Alike|Alike" <?php 
    selected('Alike|Alike', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Alike", ETHEME_DOMAIN);
    ?>
</option>		
    		<option value="Alegreya+SC|Alegreya SC" <?php 
    selected('Alegreya+SC|Alegreya SC', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Alegreya SC", ETHEME_DOMAIN);
    ?>
</option>		
    		<option value="Cuprum|Cuprum" <?php 
    selected('Cuprum|Cuprum', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Cuprum", ETHEME_DOMAIN);
    ?>
</option>		
    		<option value="Muli|Muli" <?php 
    selected('Muli|Muli', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Muli", ETHEME_DOMAIN);
    ?>
</option>		
    		<option value="Playfair+Display|Playfair Display" <?php 
    selected('Playfair+Display|Playfair Display', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Playfair Display", ETHEME_DOMAIN);
    ?>
</option>		
    	    <option value="Lustria|Lustria" <?php 
    selected('Lustria|Lustria', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Lustria", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Tinos|Tinos" <?php 
    selected('Tinos|Tinos', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Tinos", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Francois+One|Francois One" <?php 
    selected('Francois+One|Francois One', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Francois One", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Carme|Carme" <?php 
    selected('Carme|Carme', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Carme", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Berkshire+Swash|Berkshire Swash" <?php 
    selected('Berkshire+Swash|Berkshire Swash', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Berkshire Swash", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Share|Share" <?php 
    selected('Share|Share', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Share", ETHEME_DOMAIN);
    ?>
</option>            
            
            <option value="Antic+Slab|Antic Slab" <?php 
    selected('Antic+Slab|Antic Slab', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Antic Slab", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Arvo|Arvo" <?php 
    selected('Arvo|Arvo', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Arvo", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Bitter|Bitter" <?php 
    selected('Bitter|Bitter', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Bitter", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Open+Sans|Open Sans" <?php 
    selected('Open+Sans|Open Sans', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Open Sans", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Open+Sans+Condensed|Open Sans Condensed" <?php 
    selected('Open+Sans+Condensed|Open Sans Condensed', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Open Sans Condensed", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Oswald|Oswald" <?php 
    selected('Oswald|Oswald', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Oswald", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="PT+Sans+Narrow|PT Sans Narrow" <?php 
    selected('PT+Sans+Narrow|PT Sans Narrow', etheme_get_option('google_font'));
    ?>
><?php 
    _e("PT Sans Narrow", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Ubuntu|Ubuntu" <?php 
    selected('Ubuntu|Ubuntu', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Ubuntu", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Ubuntu+Condensed|Ubuntu Condensed" <?php 
    selected('Ubuntu+Condensed|Ubuntu Condensed', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Ubuntu Condensed", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Allerta|Allerta" <?php 
    selected('Allerta|Allerta', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Allerta", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Molengo|Molengo" <?php 
    selected('Molengo|Molengo', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Molengo", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Droid+Serif|Droid Serif" <?php 
    selected('Droid+Serif|Droid Serif', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Droid Serif", ETHEME_DOMAIN);
    ?>
</option>		
   		    <option value="Droid+Sans|Droid Sans" <?php 
    selected('Droid+Sans|Droid Sans', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Droid Sans", ETHEME_DOMAIN);
    ?>
</option>	
   		    <option value="Vollkorn|Vollkorn" <?php 
    selected('Vollkorn|Vollkorn', etheme_get_option('google_font'));
    ?>
><?php 
    _e("Vollkorn", ETHEME_DOMAIN);
    ?>
</option>			
   		</select>
    </p>
    <hr />
	<p>
    <input type="checkbox" name="<?php 
    echo ETHEME_OPTIONS;
    ?>
[to_top]" id="<?php 
    echo ETHEME_OPTIONS;
    ?>
[to_top]" value="1" <?php 
    checked(1, etheme_get_option('to_top'));
    ?>
 /> 
    <label for="<?php 
    echo ETHEME_OPTIONS;
    ?>
[to_top]"><?php 
    _e("Enable \"Back To Top\" button", ETHEME_DOMAIN);
    ?>
</label>
    </p>

	<p><?php 
    _e("Copyright Text:", ETHEME_DOMAIN);
    ?>
<br />
	<textarea name="<?php 
    echo ETHEME_OPTIONS;
    ?>
[copyright]" cols="39" rows="2"><?php 
    etheme_option('copyright');
    ?>
</textarea>
    </p>
<?php 
}
				        <?php 
    $blog_layout = etheme_get_option('blog_layout');
    if (etheme_get_custom_field('post_layout') && etheme_get_custom_field('post_layout') != 'global') {
        $blog_layout = etheme_get_custom_field('post_layout');
    }
    ?>
				            <div class="portfolio-single-item row">
				
					    
								<?php 
    $args = array('post_type' => 'attachment', 'numberposts' => '5', 'post_status' => null, 'post_parent' => $post->ID, 'orderby' => 'menu_order', 'order' => 'ASC', 'exclude' => get_post_thumbnail_id());
    $attachments = get_posts($args);
    if ($attachments || has_post_thumbnail()) {
        ?>
								<div class="attachments-slider nav-type-<?php 
        etheme_option('slider_nav_type');
        ?>
 span6">
									<ul class="slides">
										<?php 
        if (has_post_thumbnail()) {
            ?>
											<?php 
            $attachment_image = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full');
            ?>
											<?php 
            $full_image = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full');
            ?>
											<?php 
            $attachment_data = wp_get_attachment_metadata(get_post_thumbnail_id());
            ?>
Пример #6
0
<?php

/**
 * Displayed when no products are found matching the current query.
 *
 * Override this template by copying it to yourtheme/woocommerce/loop/no-products-found.php
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.0.0
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
?>
<div class="empty-category-block">
	
	<?php 
etheme_option('empty_category_content');
?>
	
	<p><a class="button active arrow-left" href="<?php 
echo get_permalink(woocommerce_get_page_id('shop'));
?>
"><span><?php 
_e('Return To Shop', ETHEME_DOMAIN);
?>
</span></a></p>
	
</div>
Пример #7
0
 * @version     2.0.0
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
get_header('shop');
?>

<?php 
extract(etheme_get_shop_sidebar());
$sidebarname = 'shop';
?>

<div class="page-heading bc-type-<?php 
etheme_option('breadcrumb_type');
?>
">
	<div class="container">
		<div class="row-fluid">
			<div class="span12 a-center">
				<?php 
if (apply_filters('woocommerce_show_page_title', true)) {
    ?>
		
					<h1 class="title"><span><?php 
    woocommerce_page_title();
    ?>
</span></h1>
		
				<?php 
Пример #8
0
<?php

/**
 * Template Name: Custom Registration Page
 */
extract(etheme_get_page_sidebar());
//Check whether the user is already logged in
if (!$user_ID) {
    extract(etheme_get_page_sidebar());
    get_header();
    ?>


            <div class="page-heading bc-type-<?php 
    echo esc_attr(etheme_option('breadcrumb_type'));
    ?>
">
                <div class="container">
                    <div class="row">
                        <div class="col-md-12 a-center">
                            <h1 class="title"><span><?php 
    the_title();
    ?>
</span></h1>
                            <?php 
    etheme_breadcrumbs();
    ?>
                        </div>
                    </div>
                </div>
            </div>
Пример #9
0
function etheme_product_page_banner()
{
    global $post;
    $etheme_productspage_id = etheme_shortcode2id('[productspage]');
    if ($post->ID == $etheme_productspage_id && etheme_get_option('product_bage_banner') && etheme_get_option('product_bage_banner') != '') {
        ?>
        <div class="wpsc_category_details">
            <img src="<?php 
        etheme_option('product_bage_banner');
        ?>
"/>              
        </div>
    <?php 
    }
}
Пример #10
0
            the_content();
            ?>
							</div>
						</div>
					</div>
					<?php 
            if ($googleMap) {
                ?>
						<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
						<script type="text/javascript">
						    
						    function etheme_google_map() {
						        var styles = {};
						        
						        var myLatlng = new google.maps.LatLng(<?php 
                etheme_option('google_map');
                ?>
);
						        var myOptions = {
						            zoom: 17,
						            center: myLatlng,
						            mapTypeId: google.maps.MapTypeId.ROADMAP,
						            disableDefaultUI: true,
						            mapTypeId: '8theme',
						            draggable: true,
						            zoomControl: true,
									panControl: false,
									mapTypeControl: true,
									scaleControl: true,
									streetViewControl: true,
									overviewMapControl: true,
Пример #11
0
    
    	<?php 
do_action('woocommerce_before_single_product_summary');
?>
        <div class="span4 product_description_mainblock productcol summary">
    		<?php 
do_action('woocommerce_single_product_summary');
?>
    
    	</div><!-- .summary -->
        <div class="span3 product_description_banner">
    		<?php 
if (etheme_get_option('right_banners') && etheme_get_option('right_banners') != '') {
    ?>
    			<?php 
    etheme_option('right_banners', true);
    ?>
            <?php 
} else {
    ?>
                <?php 
    dynamic_sidebar('product-single-widget-area');
    ?>
            <?php 
    wp_reset_query();
    ?>
    		<?php 
}
?>
	
        </div>
Пример #12
0
    function etheme_init()
    {
        global $etheme_responsive;
        foreach (etheme_get_chosen_google_font() as $font) {
            ?>
                <link href='<?php 
            echo et_http();
            ?>
fonts.googleapis.com/css?family=<?php 
            echo $font;
            ?>
' rel='stylesheet' type='text/css'/>
            <?php 
        }
        ?>

            <style type="text/css">

                <?php 
        if (etheme_get_option('sale_icon')) {
            ?>
                    .label-icon.sale-label { 
                        width: <?php 
            echo etheme_get_option('sale_icon_width') ? etheme_get_option('sale_icon_width') : 67;
            ?>
px; 
                        height: <?php 
            echo etheme_get_option('sale_icon_height') ? etheme_get_option('sale_icon_height') : 67;
            ?>
px;
                    }            
                    .label-icon.sale-label { background-image: url(<?php 
            echo etheme_get_option('sale_icon_url') ? etheme_get_option('sale_icon_url') : get_template_directory_uri() . '/images/label-sale.png';
            ?>
); }
                <?php 
        }
        ?>
                
                <?php 
        if (etheme_get_option('new_icon')) {
            ?>
                    .label-icon.new-label { 
                        width: <?php 
            echo etheme_get_option('new_icon_width') ? etheme_get_option('new_icon_width') : 67;
            ?>
px; 
                        height: <?php 
            echo etheme_get_option('new_icon_height') ? etheme_get_option('new_icon_height') : 67;
            ?>
px;
                    }            
                    .label-icon.new-label { background-image: url(<?php 
            echo etheme_get_option('new_icon_url') ? etheme_get_option('new_icon_url') : get_template_directory_uri() . '/images/label-new.png';
            ?>
); }
                    
                <?php 
        }
        ?>

            </style>

            <style type="text/css">
                <?php 
        $bg = etheme_get_option('background_img');
        ?>
                body {
                    <?php 
        if (!empty($bg['background-color'])) {
            ?>
  background-color: <?php 
            echo $bg['background-color'];
            ?>
;<?php 
        }
        ?>
                    <?php 
        if (!empty($bg['background-image'])) {
            ?>
  background-image: url(<?php 
            echo $bg['background-image'];
            ?>
) ; <?php 
        }
        ?>
                    <?php 
        if (!empty($bg['background-attachment'])) {
            ?>
  background-attachment: <?php 
            echo $bg['background-attachment'];
            ?>
;<?php 
        }
        ?>
                    <?php 
        if (!empty($bg['background-repeat'])) {
            ?>
  background-repeat: <?php 
            echo $bg['background-repeat'];
            ?>
;<?php 
        }
        ?>
                    <?php 
        if (!empty($bg['background-color'])) {
            ?>
  background-color: <?php 
            echo $bg['background-color'];
            ?>
;<?php 
        }
        ?>
                    <?php 
        if (!empty($bg['background-position'])) {
            ?>
  background-position: <?php 
            echo $bg['background-position'];
            ?>
;<?php 
        }
        ?>
                    <?php 
        if (etheme_get_option('background_cover') == 'enable') {
            ?>
                        background-size: cover;
                    <?php 
        }
        ?>
                }
            </style>
            <?php 
        $selectors = array();
        $selectors['main_font'] = '
                    .dropcap,
                    blockquote,
                    .team-member .member-mask .mask-text fieldset legend,
                    .button,
                    button,
                    .coupon .button,
                    input[type="submit"],
                    .font2,
                    .shopping-cart-widget .totals,
                    .main-nav .menu > li > a,
                    .menu-wrapper .menu .nav-sublist-dropdown .menu-parent-item > a,
                    .fixed-header .menu .nav-sublist-dropdown .menu-parent-item > a,
                    .fixed-header .menu > li > a,
                    .side-block .close-block,
                    .side-area .widget-title,
                    .et-mobile-menu li > a,
                    .page-heading .row-fluid .span12 > .back-to,
                    .breadcrumbs .back-to,
                    .recent-post-mini a,
                    .etheme_widget_recent_comments ul li .post-title,
                    .product_list_widget a,
                    .widget_price_filter .widget-title,
                    .widget_layered_nav .widget-title,
                    .widget_price_filter h4,
                    .widget_layered_nav h4,
                    .products-list .product .product-name,
                    .table.products-table th,
                    .table.products-table .product-name a,
                    .table.products-table .product-name dl dt,
                    .table.products-table .product-name dl dd,
                    .cart_totals .table .total th strong,
                    .cart_totals .table .total td strong .amount,
                    .pricing-table table .plan-price,
                    .pricing-table table.table thead:first-child tr:first-child th,
                    .pricing-table.style3 table .plan-price sup,
                    .pricing-table.style2 table .plan-price sup,
                    .pricing-table ul li.row-title,
                    .pricing-table ul li.row-price,
                    .pricing-table.style2 ul li.row-price sup,
                    .pricing-table.style3 ul li.row-price sup,
                    .tabs .tab-title,
                    .left-bar .left-titles .tab-title-left,
                    .right-bar .left-titles .tab-title-left,
                    .slider-container .show-all-posts,
                    .bc-type-variant2 .woocommerce-breadcrumb,
                    .bc-type-variant2 .breadcrumbs,
                    .post-single .post-share .share-title,
                    .toggle-element .toggle-title,
                    #bbpress-forums li.bbp-header,
					#bbpress-forums .bbp-forum-title,
					#bbpress-forums .bbp-topic-title,
					#bbpress-forums .bbp-reply-title,
					.product-thumbnails-slider .slides li.video-thumbnail span,
					.coupon label,
					.product-image-wrapper .out-of-stock,
					.shop_table .product-name a,
					.shop_table th,
					.cart_totals .order-total th,
					.page-heading .row-fluid .span12 .back-to,
					.woocommerce table.shop_table th, 
					.woocommerce-page table.shop_table th
                ';
        $selectors['font_color'] = '
                    body,
                    select,
                    .products-small .product-item a,
                    .woocommerce-breadcrumb,
                    #breadcrumb,
                    .woocommerce-breadcrumb a,
                    #breadcrumb a,
                    .etheme_widget_recent_comments .comment_link a,
                    .product-categories li ul a,
                    .product_list_widget del .amount,
                    .page-numbers li a,
                    .page-numbers li span,
                    .pagination li a,
                    .pagination li span,
                    .images .main-image-slider ul.slides .zoom-link:hover,
                    .quantity .qty,
                    .price .from,
                    .price del,
                    .shopping-cart-widget .cart-summ .items,
                    .shopping-cart-widget .cart-summ .for-label,
                    .posted-in a,
                    .tabs .tab-title,
                    .toggle-element .open-this,
                    .blog-post .post-info .posted-in a,
                    .menu-type1 .menu ul > li > a,
                    .post-next-prev a

                ';
        $selectors['active_color'] = '
                    a:hover,
                    .button:hover,
                    button:hover,
                    input[type="submit"]:hover,
                    .menu-icon:hover,
                    .widget_layered_nav ul li:hover,
                    .page-numbers li span,
                    .pagination li span,
                    .page-numbers li a:hover,
                    .pagination li a:hover,
                    .largest,
                    .thumbnail:hover i,
                    .demo-icons .demo-icon:hover,
                    .demo-icons .demo-icon:hover i,
                    .switchToGrid:hover, 
                    .switchToList:hover, 
                    .switcher-active, 
                    .switcher-active:hover,
                    .emodal .close-modal:hover,
                    .prev.page-numbers:hover:after, 
                    .next.page-numbers:hover:after,
                    strong.active,
                    span.active,
                    em.active,
                    a.active,
                    p.active,
                    .shopping-cart-widget .cart-summ .price-summ,
                    .products-small .product-item h5 a:hover,
                    .slider-container .slider-next:hover:before, 
                    .slider-container .slider-prev:hover:before,
                    .fullwidthbanner-container .tp-rightarrow.default:hover:before, 
                    .fullwidthbanner-container .tp-leftarrow.default:hover:before,
                    .side-area .close-block:hover i,
                    .back-to-top:hover, .back-to-top:hover i,
                    .product-info .single_add_to_wishlist:hover:before,
                    .images .main-image-slider ul.slides .zoom-link i:hover,
                    .footer_menu li:hover:before,
                    .main-nav .menu > li.current-menu-parent > a,
                    .main-nav .menu > li.current-menu-item > a,
                    .page-numbers .next:hover:before, 
                    .pagination .next:hover:before,
                    .etheme_twitter .tweet a,
                    .small-slider-arrow.arrow-left:hover,
                    .small-slider-arrow.arrow-right:hover,
                    .active2:hover,
                    .active2,
                    .checkout-steps-nav a.button.active,
                    .checkout-steps-nav a.button.active:hover,
                    .button.active,
                    button.active,
                    input[type="submit"].active,
                    .widget_categories .current-cat a,
                    div.dark_rounded .pp_contract:hover,
                    div.dark_rounded .pp_expand:hover,
                    div.dark_rounded .pp_close:hover,
                    .etheme_cp .etheme_cp_head .etheme_cp_btn_close:hover,
                    .hover-icon:hover,
                    .side-area-icon:hover,
                    .etheme_cp .etheme_cp_content .etheme_cp_section .etheme_cp_section_header .etheme_cp_btn_clear:hover,
                    .header-type-3 .main-nav .menu-wrapper .menu > li.current-menu-item > a, 
                    .header-type-3 .main-nav .menu-wrapper .menu > li.current-menu-parent > a,
                    .header-type-3 .main-nav .menu-wrapper .menu > li > a:hover,
                    .fixed-header .menu > li.current-menu-item > a,
                    .fixed-header .menu > li > a:hover,
                    .main-nav .menu > li > a:hover,
                    .product-categories > li > a:hover,
                    .custom-info-block.a-right span, 
                    .custom-info-block.a-left span,
                    .custom-info-block a i:hover,
                    .product-categories > li.current-cat > a,
                    .menu-wrapper .menu .nav-sublist-dropdown .menu-parent-item > a:hover,
                    .woocommerce .woocommerce-breadcrumb a:hover, 
                    .woocommerce-page .woocommerce-breadcrumb a:hover,
                    .product-info .posted_in a:hover,
                    .slide-item .product .products-page-cats a:hover, 
                    .products-grid .product .products-page-cats a:hover,
                    .widget_layered_nav ul li:hover a,
                    .page-heading .row-fluid .span12 > .back-to:hover,
                    .breadcrumbs .back-to:hover,
                    #breadcrumb a:hover,
                    .links li a:hover,
					.menu-wrapper .menu > .nav-sublist-dropdown .menu-parent-item ul li:hover, 
					.menu-wrapper .menu > .nav-sublist-dropdown .menu-parent-item ul li:hover a,
					.menu-wrapper .menu ul > li > a:hover,
                    .filled.active,
                    .shopping-cart-widget .cart-summ a:hover,
                    .product-categories > li > ul > li > a:hover,
                    .product-categories > li > ul > li > a:hover + span,
                    .product-categories ul.children li > a:hover,
                    .product-categories ul.children li > a:hover + span,
                    .product-categories > li.current-cat > a+span,
                    .widget_nav_menu .current-menu-item a,
                    .widget_nav_menu .current-menu-item:before,
                    .fixed-menu-type2 .fixed-header .nav-sublist-dropdown li a:hover,
                    .product-category h5:hover,
                    .product-categories .children li.current-cat,
                    .product-categories .children li.current-cat a,
                    .product-categories .children li.current-cat span,
                    .pricing-table ul li.row-price,
                    .product-category:hover h5,
                    .widget_nav_menu li a:hover,
                    .widget_nav_menu li:hover:before,
                    .list li:before,
                    .blog-post .post-info a:hover,
					.show-all-posts:hover,
                    .cbp-qtrotator .testimonial-author .excerpt,
                    .top-bar .wishlist-link a:hover span,
                    .menu-type2 .menu .nav-sublist-dropdown .menu-parent-item li:hover:before,
                    .back-to-top:hover:before,
                    .tabs .tab-title:hover,
                    .flex-direction-nav a:hover,
                    .widget_layered_nav ul li a:hover,
                    .widget_layered_nav ul li:hover,
                    .product-categories .open-this:hover,
                    .widget_categories li:hover:before,
                    .etheme-social-icons li a:hover,
                    .product-categories > li.opened .open-this:hover,
                    .slider-container .show-all-posts:hover,
                    .widget_layered_nav ul li.chosen .count,
                    .widget_layered_nav ul li.chosen a,
                    .widget_layered_nav ul li.chosen a:before,
                    .recent-post-mini strong,
                    .menu-wrapper .menu ul > li:hover:before, 
                    .fixed-header .menu ul > li:hover:before,
                    .team-member .member-mask .mask-text a:hover,
                    .show-quickly:hover,
                    .header-type-6 .top-bar .top-links .submenu-dropdown ul li a:hover,
                    .header-type-6 .top-bar .top-links .submenu-dropdown ul li:hover:before,
                    .side-area-icon i:hover:before, 
                    .menu-icon i:hover:before,
                    a.bbp-author-name,
                    #bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a,
                    #bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current:before,
					.bbp-forum-header a.bbp-forum-permalink,
					.bbp-topic-header a.bbp-topic-permalink,
					.bbp-reply-header a.bbp-reply-permalink,
					.et-tweets.owl-carousel .owl-prev:hover:before,
					.et-tweets.owl-carousel .owl-next:hover:before,
					.etheme_widget_brands ul li.active-brand a,
                    .comment-block .author-link a:hover,
                    .header-type-3 .shopping-cart-link span.amount, 
                    .header-type-4 .shopping-cart-link span.amount, 
                    .header-type-6 .shopping-cart-link span.amount
                ';
        // important
        $selectors['active_color_important'] = '
                    .hover-icon:hover,
                    .breadcrumbs .back-to:hover
                ';
        // Price COLOR!
        $selectors['pricecolor'] = '
                    .products-small .product-item .price,
                    .product_list_widget .amount,
                    .cart_totals .table .total .amount,
                    .price
                ';
        $selectors['active_bg'] = '
                    .filled:hover,
                    .progress-bar > div,
                    .active2:hover,
                    .button.active:hover,
                    button.active:hover,
                    input[type="submit"].active:hover,
                    .checkout-steps-nav a.button.active:hover,
                    .portfolio-filters .active,
                    .product-info .single_add_to_cart_button,
                    .product-info .single_add_to_wishlist:hover,
                    .checkout-button.button,
                    .checkout-button.button:hover,
                    .header-type-6 .top-bar, 
					.filled.active,
					.block-with-ico.ico-position-top i,
                    .added-text,
                    .etheme_cp_btn_show,
                    .toolbar .switchToList:hover, 
                    .toolbar .switchToList.switcher-active,
                    .toolbar .switchToGrid:hover, 
                    .toolbar .switchToGrid.switcher-active,
                    .button.white.filled:hover,
                    .button.active,
                    .button.active2,
                    .button.white:hover,
                    .woocommerce-checkout-payment .place-order .button
                ';
        $selectors['active_border'] = '
                    .button:hover,
                    button:hover,
                    .button.white.filled:hover,
                    input[type="submit"]:hover,
                    .button.active,
                    button.active,
                    input[type="submit"].active,
                    .filled:hover,
                    .widget_layered_nav ul li:hover,
                    .page-numbers li span,
                    .pagination li span,
                    .page-numbers li a:hover,
                    .pagination li a:hover,
                    .switchToGrid:hover, 
                    .switchToList:hover, 
                    .toolbar .switchToGrid.switcher-active,
                    .toolbar .switchToList.switcher-active, 
                    textarea:focus,
                    input[type="text"]:focus,
                    input[type="password"]:focus,
                    input[type="datetime"]:focus,
                    input[type="datetime-local"]:focus,
                    input[type="date"]:focus,
                    input[type="month"]:focus,
                    input[type="time"]:focus,
                    input[type="week"]:focus,
                    input[type="number"]:focus,
                    input[type="email"]:focus,
                    input[type="url"]:focus,
                    input[type="search"]:focus,
                    input[type="tel"]:focus,
                    input[type="color"]:focus,
                    .uneditable-input:focus,
                    .active2,
                    .woocommerce.widget_price_filter .ui-slider .ui-slider-range, 
                    .woocommerce-page .widget_price_filter .ui-slider .ui-slider-range,
                    .checkout-steps-nav a.button.active,
                    .product-info .single_add_to_cart_button,
                    .main-nav .menu > li.current-menu-parent > a:before, 
                    .main-nav .menu > li.current-menu-item > a:before,
                    .cta-block.style-filled,
                    .search #searchform input[type="text"]:focus,
                    .product-categories .open-this:hover,
                    .product-categories > li.opened .open-this:hover,
                    .woocommerce-checkout-payment .place-order .button

                ';
        $selectors['darken_color'] = '
                ';
        $selectors['darken_bg'] = '
                    .woocommerce.widget_price_filter .ui-slider .ui-slider-handle
                ';
        $selectors['darken_border'] = '
                ';
        ?>

            <style type="text/css">
                <?php 
        echo jsString($selectors['font_color']);
        ?>
 { color: #6f6f6f; }
            </style>

            <?php 
        $activeColor = etheme_get_option('activecol') ? etheme_get_option('activecol') : '#d7a200';
        $priceColor = etheme_get_option('pricecolor') ? etheme_get_option('pricecolor') : '#d7a200';
        $rgb = hex2rgb($activeColor);
        $darkenRgb = array();
        $darkenRgb[0] = $rgb[0] > 30 ? $rgb[0] - 30 : 0;
        $darkenRgb[1] = $rgb[1] > 30 ? $rgb[1] - 30 : 0;
        $darkenRgb[2] = $rgb[2] > 30 ? $rgb[2] - 30 : 0;
        $darkenColor = 'rgb(' . $darkenRgb[0] . ',' . $darkenRgb[1] . ',' . $darkenRgb[2] . ')';
        ?>

            <style type="text/css">
            <?php 
        echo jsString($selectors['active_color']);
        ?>
              { color: <?php 
        echo $activeColor;
        ?>
; }

            <?php 
        echo jsString($selectors['active_color_important']);
        ?>
    { color: <?php 
        echo $activeColor;
        ?>
!important; }

            <?php 
        echo jsString($selectors['active_bg']);
        ?>
                 { background-color: <?php 
        echo $activeColor;
        ?>
; }

            <?php 
        echo jsString($selectors['active_border']);
        ?>
             { border-color: <?php 
        echo $activeColor;
        ?>
; }

            </style>
            
            <style type="text/css">
                <?php 
        echo jsString($selectors['pricecolor']);
        ?>
              { color: <?php 
        echo $priceColor;
        ?>
; }
            </style>

            <style type="text/css">
            <?php 
        echo jsString($selectors['darken_color']);
        ?>
              { color: <?php 
        echo $darkenColor;
        ?>
; }

            <?php 
        echo jsString($selectors['darken_bg']);
        ?>
                 { background-color: <?php 
        echo $darkenColor;
        ?>
; }

            <?php 
        echo jsString($selectors['darken_border']);
        ?>
             { border-color: <?php 
        echo $darkenColor;
        ?>
; }

            </style>

            <style>
                .woocommerce.widget_price_filter .ui-slider .ui-slider-range, 
                .woocommerce-page .widget_price_filter .ui-slider .ui-slider-range{
                  background: <?php 
        echo 'rgba(' . $rgb[0] . ',' . $rgb[1] . ',' . $rgb[2] . ',0.35)';
        ?>
;
                }

            </style>

            <style type="text/css">
                <?php 
        $h1 = etheme_get_option('h1');
        ?>
                <?php 
        $h2 = etheme_get_option('h2');
        ?>
                <?php 
        $h3 = etheme_get_option('h3');
        ?>
                <?php 
        $h4 = etheme_get_option('h4');
        ?>
                <?php 
        $h5 = etheme_get_option('h5');
        ?>
                <?php 
        $h6 = etheme_get_option('h6');
        ?>
                <?php 
        $sfont = etheme_get_option('sfont');
        ?>
                <?php 
        $mainfont = etheme_get_option('mainfont');
        ?>
                
                body {
                    <?php 
        if (!empty($sfont['font-color'])) {
            ?>
      color: <?php 
            echo $sfont['font-color'] . ';';
        }
        ?>
                    <?php 
        if (!empty($sfont['font-family'])) {
            ?>
     font-family: <?php 
            echo $sfont['font-family'] . ';';
        }
        ?>
                    <?php 
        if (!empty($sfont['google-font'])) {
            ?>
     font-family: <?php 
            echo str_replace("+", " ", $sfont['google-font']) . ';';
        }
        ?>
                    <?php 
        if (!empty($sfont['font-size'])) {
            ?>
       font-size: <?php 
            echo $sfont['font-size'] . ';';
        }
        ?>
                    <?php 
        if (!empty($sfont['font-style'])) {
            ?>
      font-style: <?php 
            echo $sfont['font-style'] . ';';
        }
        ?>
                    <?php 
        if (!empty($sfont['font-weight'])) {
            ?>
     font-weight: <?php 
            echo $sfont['font-weight'] . ';';
        }
        ?>
                    <?php 
        if (!empty($sfont['font-variant'])) {
            ?>
    font-variant: <?php 
            echo $sfont['font-variant'] . ';';
        }
        ?>
                    <?php 
        if (!empty($sfont['letter-spacing'])) {
            ?>
  letter-spacing: <?php 
            echo $sfont['letter-spacing'] . ';';
        }
        ?>
                    <?php 
        if (!empty($sfont['line-height'])) {
            ?>
     line-height: <?php 
            echo $sfont['line-height'] . ';';
        }
        ?>
                    <?php 
        if (!empty($sfont['text-decoration'])) {
            ?>
 text-decoration:  <?php 
            echo $sfont['text-decoration'] . ';';
        }
        ?>
                    <?php 
        if (!empty($sfont['text-transform'])) {
            ?>
  text-transform:  <?php 
            echo $sfont['text-transform'] . ';';
        }
        ?>
                }
                
                h1 {
                    <?php 
        if (!empty($h1['font-color'])) {
            ?>
      color: <?php 
            echo $h1['font-color'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h1['font-family'])) {
            ?>
     font-family: <?php 
            echo $h1['font-family'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h1['google-font'])) {
            ?>
     font-family: <?php 
            echo str_replace("+", " ", $h1['google-font']) . ';';
        }
        ?>
                    <?php 
        if (!empty($h1['font-size'])) {
            ?>
       font-size: <?php 
            echo $h1['font-size'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h1['font-style'])) {
            ?>
      font-style: <?php 
            echo $h1['font-style'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h1['font-weight'])) {
            ?>
     font-weight: <?php 
            echo $h1['font-weight'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h1['font-variant'])) {
            ?>
    font-variant: <?php 
            echo $h1['font-variant'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h1['letter-spacing'])) {
            ?>
  letter-spacing: <?php 
            echo $h1['letter-spacing'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h1['line-height'])) {
            ?>
     line-height: <?php 
            echo $h1['line-height'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h1['text-decoration'])) {
            ?>
 text-decoration:  <?php 
            echo $h1['text-decoration'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h1['text-transform'])) {
            ?>
  text-transform:  <?php 
            echo $h1['text-transform'] . ';';
        }
        ?>
                }
                h2 {
                    <?php 
        if (!empty($h2['font-color'])) {
            ?>
      color: <?php 
            echo $h2['font-color'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h2['font-family'])) {
            ?>
     font-family: <?php 
            echo $h2['font-family'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h2['google-font'])) {
            ?>
     font-family: <?php 
            echo str_replace("+", " ", $h2['google-font']) . ';';
        }
        ?>
                    <?php 
        if (!empty($h2['font-size'])) {
            ?>
       font-size: <?php 
            echo $h2['font-size'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h2['font-style'])) {
            ?>
      font-style: <?php 
            echo $h2['font-style'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h2['font-weight'])) {
            ?>
     font-weight: <?php 
            echo $h2['font-weight'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h2['font-variant'])) {
            ?>
    font-variant: <?php 
            echo $h2['font-variant'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h2['letter-spacing'])) {
            ?>
  letter-spacing: <?php 
            echo $h2['letter-spacing'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h2['line-height'])) {
            ?>
     line-height: <?php 
            echo $h2['line-height'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h2['text-decoration'])) {
            ?>
 text-decoration:  <?php 
            echo $h2['text-decoration'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h2['text-transform'])) {
            ?>
  text-transform:  <?php 
            echo $h2['text-transform'] . ';';
        }
        ?>
                }
                h3 {
                    <?php 
        if (!empty($h3['font-color'])) {
            ?>
      color: <?php 
            echo $h3['font-color'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h3['font-family'])) {
            ?>
     font-family: <?php 
            echo $h3['font-family'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h3['google-font'])) {
            ?>
     font-family: <?php 
            echo str_replace("+", " ", $h3['google-font']) . ';';
        }
        ?>
                    <?php 
        if (!empty($h3['font-size'])) {
            ?>
       font-size: <?php 
            echo $h3['font-size'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h3['font-style'])) {
            ?>
      font-style: <?php 
            echo $h3['font-style'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h3['font-weight'])) {
            ?>
     font-weight: <?php 
            echo $h3['font-weight'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h3['font-variant'])) {
            ?>
    font-variant: <?php 
            echo $h3['font-variant'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h3['letter-spacing'])) {
            ?>
  letter-spacing: <?php 
            echo $h3['letter-spacing'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h3['line-height'])) {
            ?>
     line-height: <?php 
            echo $h3['line-height'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h3['text-decoration'])) {
            ?>
 text-decoration:  <?php 
            echo $h3['text-decoration'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h3['text-transform'])) {
            ?>
  text-transform:  <?php 
            echo $h3['text-transform'] . ';';
        }
        ?>
                }
                h4 {
                    <?php 
        if (!empty($h4['font-color'])) {
            ?>
      color: <?php 
            echo $h4['font-color'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h4['font-family'])) {
            ?>
     font-family: <?php 
            echo $h4['font-family'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h4['google-font'])) {
            ?>
     font-family: <?php 
            echo str_replace("+", " ", $h4['google-font']) . ';';
        }
        ?>
                    <?php 
        if (!empty($h4['font-size'])) {
            ?>
       font-size: <?php 
            echo $h4['font-size'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h4['font-style'])) {
            ?>
      font-style: <?php 
            echo $h4['font-style'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h4['font-weight'])) {
            ?>
     font-weight: <?php 
            echo $h4['font-weight'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h4['font-variant'])) {
            ?>
    font-variant: <?php 
            echo $h4['font-variant'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h4['letter-spacing'])) {
            ?>
  letter-spacing: <?php 
            echo $h4['letter-spacing'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h4['line-height'])) {
            ?>
     line-height: <?php 
            echo $h4['line-height'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h4['text-decoration'])) {
            ?>
 text-decoration:  <?php 
            echo $h4['text-decoration'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h4['text-transform'])) {
            ?>
  text-transform:  <?php 
            echo $h4['text-transform'] . ';';
        }
        ?>
                }
                h5 {
                    <?php 
        if (!empty($h5['font-color'])) {
            ?>
      color: <?php 
            echo $h5['font-color'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h5['font-family'])) {
            ?>
     font-family: <?php 
            echo $h5['font-family'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h5['google-font'])) {
            ?>
     font-family: <?php 
            echo str_replace("+", " ", $h5['google-font']) . ';';
        }
        ?>
                    <?php 
        if (!empty($h5['font-size'])) {
            ?>
       font-size: <?php 
            echo $h5['font-size'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h5['font-style'])) {
            ?>
      font-style: <?php 
            echo $h5['font-style'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h5['font-weight'])) {
            ?>
     font-weight: <?php 
            echo $h5['font-weight'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h5['font-variant'])) {
            ?>
    font-variant: <?php 
            echo $h5['font-variant'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h5['letter-spacing'])) {
            ?>
  letter-spacing: <?php 
            echo $h5['letter-spacing'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h5['line-height'])) {
            ?>
     line-height: <?php 
            echo $h5['line-height'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h5['text-decoration'])) {
            ?>
 text-decoration:  <?php 
            echo $h5['text-decoration'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h5['text-transform'])) {
            ?>
  text-transform:  <?php 
            echo $h5['text-transform'] . ';';
        }
        ?>
                }         
                h6 {
                    <?php 
        if (!empty($h6['font-color'])) {
            ?>
      color: <?php 
            echo $h6['font-color'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h6['font-family'])) {
            ?>
     font-family: <?php 
            echo $h6['font-family'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h6['google-font'])) {
            ?>
     font-family: <?php 
            echo str_replace("+", " ", $h6['google-font']) . ';';
        }
        ?>
                    <?php 
        if (!empty($h6['font-size'])) {
            ?>
       font-size: <?php 
            echo $h6['font-size'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h6['font-style'])) {
            ?>
      font-style: <?php 
            echo $h6['font-style'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h6['font-weight'])) {
            ?>
     font-weight: <?php 
            echo $h6['font-weight'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h6['font-variant'])) {
            ?>
    font-variant: <?php 
            echo $h6['font-variant'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h6['letter-spacing'])) {
            ?>
  letter-spacing: <?php 
            echo $h6['letter-spacing'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h6['line-height'])) {
            ?>
     line-height: <?php 
            echo $h6['line-height'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h6['text-decoration'])) {
            ?>
 text-decoration:  <?php 
            echo $h6['text-decoration'] . ';';
        }
        ?>
                    <?php 
        if (!empty($h6['text-transform'])) {
            ?>
  text-transform:  <?php 
            echo $h6['text-transform'] . ';';
        }
        ?>
                }
                <?php 
        echo jsString($selectors['main_font']);
        ?>
 {
                    <?php 
        if (!empty($mainfont['font-color'])) {
            ?>
      color: <?php 
            echo $mainfont['font-color'] . ';';
        }
        ?>
                    <?php 
        if (!empty($mainfont['font-family'])) {
            ?>
     font-family: <?php 
            echo $mainfont['font-family'] . ';';
        }
        ?>
                    <?php 
        if (!empty($mainfont['google-font'])) {
            ?>
     font-family: <?php 
            echo str_replace("+", " ", $mainfont['google-font']) . ';';
        }
        ?>
                    <?php 
        if (!empty($mainfont['font-size'])) {
            ?>
       font-size: <?php 
            echo $mainfont['font-size'] . ';';
        }
        ?>
                    <?php 
        if (!empty($mainfont['font-style'])) {
            ?>
      font-style: <?php 
            echo $mainfont['font-style'] . ';';
        }
        ?>
                    <?php 
        if (!empty($mainfont['font-weight'])) {
            ?>
     font-weight: <?php 
            echo $mainfont['font-weight'] . ';';
        }
        ?>
                    <?php 
        if (!empty($mainfont['font-variant'])) {
            ?>
    font-variant: <?php 
            echo $mainfont['font-variant'] . ';';
        }
        ?>
                    <?php 
        if (!empty($mainfont['letter-spacing'])) {
            ?>
  letter-spacing: <?php 
            echo $mainfont['letter-spacing'] . ';';
        }
        ?>
                    <?php 
        if (!empty($mainfont['line-height'])) {
            ?>
     line-height: <?php 
            echo $mainfont['line-height'] . ';';
        }
        ?>
                    <?php 
        if (!empty($mainfont['text-decoration'])) {
            ?>
 text-decoration:  <?php 
            echo $mainfont['text-decoration'] . ';';
        }
        ?>
                    <?php 
        if (!empty($mainfont['text-transform'])) {
            ?>
  text-transform:  <?php 
            echo $mainfont['text-transform'] . ';';
        }
        ?>
 
                }
            </style>
            <script type="text/javascript">
                var active_color_selector = '<?php 
        echo jsString($selectors['active_color']);
        ?>
';
                var active_bg_selector = '<?php 
        echo jsString($selectors['active_bg']);
        ?>
';
                var active_border_selector = '<?php 
        echo jsString($selectors['active_border']);
        ?>
';
                var active_color_default = '<?php 
        echo $activeColor;
        ?>
';
                var bg_default = '<?php 
        etheme_option('backgroundcol');
        ?>
'; 
                var pattern_default = '<?php 
        if (!empty($bg['background-image'])) {
            echo $bg['background-image'];
        }
        ?>
'; 


                var ajaxFilterEnabled = <?php 
        echo etheme_get_option('ajax_filter') ? 1 : 0;
        ?>
;
                var successfullyAdded = '<?php 
        _e('successfully added to your shopping cart', ETHEME_DOMAIN);
        ?>
';
                var view_mode_default = '<?php 
        echo etheme_get_option('view_mode');
        ?>
';
                var catsAccordion = false;
                <?php 
        if (etheme_get_option('cats_accordion')) {
            ?>
                        catsAccordion = true;
                    <?php 
        }
        ?>
                <?php 
        if (class_exists('WooCommerce')) {
            global $woocommerce;
            ?>
                        var checkoutUrl = '<?php 
            echo esc_url($woocommerce->cart->get_checkout_url());
            ?>
';
                        var contBtn = '<?php 
            _e('Continue shopping', ETHEME_DOMAIN);
            ?>
';
                        var checkBtn = '<?php 
            _e('Checkout', ETHEME_DOMAIN);
            ?>
';
                    <?php 
        }
        ?>
                <?php 
        if (etheme_get_option('nice_scroll')) {
            ?>
                    jQuery(document).ready(function(){
                        jQuery("body").niceScroll({
                            hidecursordelay: 100000,
                            scrollspeed: 60,
                            cursorwidth: 6,
                            cursorborder: '1px solid #909090',
                            cursorborderradius: 0,
                            horizrailenabled:false
                        });
                    });
                <?php 
        }
        ?>
            </script>

        <?php 
        if ($etheme_responsive) {
            ?>
            <style type="text/css">
            @import url("<?php 
            echo get_template_directory_uri();
            ?>
/css/large-resolution.css") (min-width:<?php 
            echo etheme_get_option('responsive_from') ? etheme_get_option('responsive_from') : '1440';
            ?>
px);
            </style>
        <?php 
        }
    }
Пример #13
0
 * @version     1.6.4
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
global $post;
if (!$post->post_excerpt) {
    return;
}
?>
	<?php 
echo apply_filters('woocommerce_short_description', $post->post_excerpt);
?>

    <?php 
if (etheme_get_custom_field('_etheme_size_guide')) {
    ?>
        <div class="size_guide">
    	 <a rel="lightbox" href="<?php 
    etheme_option('size_guide_img');
    ?>
"><?php 
    _e('Sizing Guide', ETHEME_DOMAIN);
    ?>
</a>
        </div>
    <?php 
}
?>
    
        </div>

        <!--        <div class="cms__product__usp__call">
                    <p class="titlecall1">BẠN CẦN TRỢ GIÚP?</p>
        <p class="titlecall2" >HÃY LIÊN HỆ : 090 268 9449 (24/7) – 08. 6 291 25 28</p>
        <p class="titlecall3" style="font-size:11px;color:black">Thời gian làm việc:<br>Từ 9h đến 19h các ngày trong tuần.
        </p>
                </div> <br />-->

    </div><!-- .summary -->
    <div class="product-sidebar">
        <?php 
if (etheme_get_option('right_banners') && etheme_get_option('right_banners') != '') {
    ?>
            <?php 
    etheme_option('right_banners');
    ?>
        <?php 
} else {
    ?>
            <?php 
    dynamic_sidebar('product-single-widget-area');
    ?>
            <?php 
    wp_reset_query();
    ?>
        <?php 
}
?>
	
Пример #15
0
';
    var active_bg_selector = '<?php 
echo jsString($selectors['active_bg']);
?>
';
    var active_border_selector = '<?php 
echo jsString($selectors['active_border']);
?>
';
    var active_color_default = '<?php 
echo etheme_get_option('activecol') ? etheme_get_option('activecol') : '#ff4949';
?>
';
    var bg_default = '#ffffff'; 
    var pattern_default = '<?php 
etheme_option('background_img');
?>
';
    
    var isRequired = ' <?php 
_e('Please, fill in the required fields!', ETHEME_DOMAIN);
?>
';    
    var cartHref = '<?php 
echo class_exists('WooCommerce') ? $woocommerce->cart->get_cart_url() : '';
?>
';      
    var successfullyAdded2 = 'aaaa<?php 
_e('was successfully added to your shopping cart.', ETHEME_DOMAIN);
?>
<div class="clear"><a class="button cont-shop"><span><?php 
Пример #16
0
function etheme_contacts_shortcodes($atts, $content = null)
{
    $a = shortcode_atts(array('gmap' => 1), $atts);
    if (isset($_GET['contactSubmit'])) {
        $emailFrom = strip_tags($_GET['contactEmail']);
        $emailTo = etheme_get_option('contacts_email');
        $subject = strip_tags($_GET['contactSubject']);
        $name = strip_tags($_GET['contactName']);
        $email = strip_tags($_GET['contactEmail']);
        $message = strip_tags(stripslashes($_GET['contactMessage']));
        $body = "Name: " . $name . "\n";
        $body .= "Email: " . $email . "\n";
        $body .= "Message: " . $message . "\n";
        $body .= $name . ", <b>" . $emailFrom . "</b>\n";
        $headers = "From: " . $emailFrom . "\n";
        $headers .= "Reply-To:" . $emailFrom . "\n";
        if (isset($_GET['contactSubmit'])) {
            $success = mail($emailTo, $subject, $body, $headers);
            if ($success) {
                echo '<p class="yay">All is well, your e&ndash;mail has been sent.</p>';
            }
        } else {
            echo '<p class="oops">Something went wrong</p>';
        }
    } else {
        ?>
    
    <div class="span9 blog1_post contacts-page" id="blog_full_content">
    <?php 
        if ($a['gmap'] == 1) {
            ?>
        <div class="span9 blog1_post_image" id="map-image">
            <div id="map">
                <p>Enable your JavaScript!</p>
            </div>
        </div>
    <div class="clear"></div>
    
    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
	<script type="text/javascript">
    
    function etheme_google_map() {
        var styles = {
            '8theme':  [{
            "featureType": "administrative",
            "stylers": [
              { "visibility": "on" }
            ]
          },
          {
            "featureType": "road",
            "stylers": [
              { "visibility": "on" },
              { "hue": "#e78b8b" }
            ]
          },
          {
            "stylers": [
			  { "visibility": "on" },
			  { "hue": "#e78b8b" },
			  { "saturation": -50 }
            ]
          }
        ]};
        
        var myLatlng = new google.maps.LatLng(<?php 
            etheme_option('google_map');
            ?>
);
        var myOptions = {
            zoom: 17,
            center: myLatlng,
            mapTypeId: google.maps.MapTypeId.ROADMAP,
            disableDefaultUI: true,
            mapTypeId: '8theme',
            draggable: true,
            zoomControl: true,
			panControl: false,
			mapTypeControl: true,
			scaleControl: true,
			streetViewControl: true,
			overviewMapControl: true,
            scrollwheel: false,
            disableDoubleClickZoom: false
        }
        var map = new google.maps.Map(document.getElementById("map"), myOptions);
        var styledMapType = new google.maps.StyledMapType(styles['8theme'], {name: '8theme'});
        map.mapTypes.set('8theme', styledMapType);
        
        var marker = new google.maps.Marker({
            position: myLatlng, 
            map: map,
            title:""
        });   
    }
    
    jQuery(document).ready(function(){
	    etheme_google_map();
    });
    
    jQuery(document).resize(function(){
	    etheme_google_map();
    });
    
    </script>
    
    
    <?php 
        }
        ?>
      
    </div>   
    
    <div class="contact-form">
    	<h1><?php 
        the_title();
        ?>
</h1>
        <?php 
        if (etheme_option('contacts_custom_html') != '') {
            ?>
            <?php 
            echo etheme_option('contacts_custom_html');
            ?>
        <?php 
        }
        ?>
 
        <div id="contactsMsgs" class="clear"></div>
        <div class="span4 contact_info">
            <?php 
        etheme_option('contacts_info');
        ?>
        </div>
        <div class="span5 blog_full_review_container" id="contact_container">
            <h2><?php 
        _e('Contact Form', ETHEME_DOMAIN);
        ?>
</h2>
            <form action="<?php 
        the_permalink();
        ?>
" method="POST" class="form" id="ethemeContactForm">   
                <label for="contactName"><?php 
        _e('Name', ETHEME_DOMAIN);
        ?>
 <span class="required">*</span></label>            
                <input type="text" class="contact_input required-field" name="contactName"/>
                <label for="contactEmail"><?php 
        _e('Email', ETHEME_DOMAIN);
        ?>
 <span class="required">*</span></label>
                <input type="text" class="contact_input required-field" name="contactEmail"/>
                <label for="contactSubject"><?php 
        _e('Subject', ETHEME_DOMAIN);
        ?>
 <span class="required">*</span></label>
                <input type="text" class="contact_input" name="contactSubject"/>
                <label for="contactMessage"><?php 
        _e('Message', ETHEME_DOMAIN);
        ?>
 <span class="required">*</span></label>
                <textarea class="contact_textarea required-field" rows="10" cols="45" name="contactMessage"></textarea>
                <div id="contact_button">
                    <button class="button fl-r" name="contactSubmit" type="submit"><span><?php 
        _e('Send Request', ETHEME_DOMAIN);
        ?>
</span></button>
                    <div class="contactSpinner"></div>
                </div>
            </form>
        </div>
        <div class="clear"></div>
    </div>
<?php 
    }
}
Пример #17
0
    dynamic_sidebar('payments-area');
    ?>
            <?php 
}
?>
  
        </div>  

        
      </div>

		<?php 
if (etheme_get_option('to_top') != 'disable') {
    ?>
		    <div id="back-to-top" class="btn-style-<?php 
    etheme_option('to_top');
    ?>
"><a href="#top" id="top-link" ><span><?php 
    _e('Back to top', ETHEME_DOMAIN);
    ?>
</span></a></div>
		<?php 
}
?>
	
      </div>
  </div>
  <?php 
if (etheme_get_option('responsive')) {
    ?>
        	<div class="span12 responsive-switcher visible-phone visible-tablet <?php 
      </section>
    </li>
  <?php 
    }
    ?>

  <?php 
    if (etheme_get_option('custom_tab') && etheme_get_option('custom_tab') != '') {
        ?>
    <li><a href="#"><?php 
        etheme_option('custom_tab_title');
        ?>
</a>
      <section>
        <?php 
        etheme_option('custom_tab');
        ?>
      </section>
    </li>
  <?php 
    }
    ?>
</ul>

<div class="clear"></div>

<?php 
    $relateds = get_related_products($product_id, true, 220, 220);
    $rand = rand(10, 1000);
    if (count($relateds) > 0) {
        ?>
Пример #19
0
<!-- End of Segment Pixel -->        
</head>



<body <?php 
body_class();
?>
>


<?php 
get_template_part('et-styles');
?>
<div id="container" class="wrapper-<?php 
etheme_option('main_layout');
?>
">

  <?php 
if (etheme_get_option('loader') == 1) {
    ?>

    <div id="loader">

      <div id="loader-status">

        <p class="center-text">

          <em><?php 
    _e('Loading the content...', ETHEME_DOMAIN);
Пример #20
0
                  </g>
                 </g>
                </svg>
            </div>
	           

	        <?php 
if ($header_type == 'default') {
    ?>
	            <div class="span3 visible-desktop">
	                <?php 
    if (etheme_get_option('header_phone') && etheme_get_option('header_phone') != '') {
        ?>
	                    <span class="search_text">
	                        <?php 
        etheme_option('header_phone');
        ?>
	                    </span>
	                <?php 
    }
    ?>
		            <?php 
    if (etheme_get_option('search_form')) {
        ?>
		                <div class="search_form">
		                    <?php 
        get_search_form();
        ?>
		                </div>
	                <?php 
    }
Пример #21
0
</a>
            <div id="content_tab_8" class="tab-content">
        		<?php 
        echo do_shortcode(etheme_get_custom_field('_etheme_custom_tab2'));
        ?>
            </div>              
        <?php 
    }
    ?>
	 
        
        <?php 
    if (etheme_get_option('custom_tab_title') && etheme_get_option('custom_tab_title') != '') {
        ?>
            <a href="#tab9" id="tab_9" class="tab-title"><?php 
        etheme_option('custom_tab_title');
        ?>
</a>
            <div id="content_tab_9" class="tab-content">
        		<?php 
        echo do_shortcode(etheme_get_option('custom_tab'));
        ?>
            </div>              
        <?php 
    }
    ?>
	

		</div>
	</div>
</div>
Пример #22
0
function etheme_contacts_shortcodes($atts, $content = null)
{
    $a = shortcode_atts(array('gmap' => 1), $atts);
    if (isset($_GET['contactSubmit'])) {
        $emailFrom = strip_tags($_GET['contactEmail']);
        $emailTo = etheme_get_option('contacts_email');
        $subject = strip_tags($_GET['contactSubject']);
        $name = strip_tags($_GET['contactName']);
        $email = strip_tags($_GET['contactEmail']);
        $message = strip_tags(stripslashes($_GET['contactMessage']));
        $body = "Name: " . $name . "\n";
        $body .= "Email: " . $email . "\n";
        $body .= "Message: " . $message . "\n";
        $body .= $name . ", " . $emailFrom . "\n";
        $headers = "From {$emailFrom} " . PHP_EOL;
        $headers .= "Reply-To: {$emailFrom}" . PHP_EOL;
        $headers .= "MIME-Version: 1.0" . PHP_EOL;
        $headers .= "Content-type: text/plain; charset=utf-8" . PHP_EOL;
        $headers .= "Content-Transfer-Encoding: quoted-printable" . PHP_EOL;
        if (isset($_GET['contactSubmit'])) {
            $success = wp_mail($emailTo, $subject, $body, $headers);
            if ($success) {
                echo '<p class="yay">All is well, your e&ndash;mail has been sent.</p>';
            }
        } else {
            echo '<p class="oops">Something went wrong</p>';
        }
    } else {
        if ($a['gmap'] == 1) {
            wp_enqueue_script('google.maps', 'http://maps.google.com/maps/api/js?sensor=false');
            wp_enqueue_script('gmap', get_template_directory_uri() . '/js/jquery.gmap.min.js');
            ?>

    <div id="map">
        
    </div>
    <script type="text/javascript">
        jQuery(document).ready(function(){
        	var $map = jQuery('#map');    
        	if( $map.length ) {    
        		$map.gMap({
        			//address: '<?php 
            etheme_option('google_map');
            ?>
',
                    latitude: 10.759942,
                    longitude: 106.690484,
                                    zoom: 18,
        			markers: [
        				{ 
                            latitude: 10.759942,
                            longitude: 106.690484
                            //'address' : '<?php 
            etheme_option('google_map');
            ?>
' 
                        }
        			]
        		});    
        	}  
        });
    </script>
    <?php 
        }
        ?>
    <?php 
        if (etheme_option('contacts_custom_html') != '') {
            ?>
    <div class="custom-html">
        <?php 
            echo etheme_option('contacts_custom_html');
            ?>
    </div>
    <?php 
        }
        ?>
    <div class="one-third">      
        <div id="contactsMsgs"></div>  
        <form action="<?php 
        the_permalink();
        ?>
" method="POST" class="form" id="ethemeContactForm">   
            <div class="formField">
                <label for="contactName"><?php 
        _e('Họ và tên : ', ETHEME_DOMAIN);
        ?>
 <span class="required">*</span></label>
                <input type="text" class="textField required-field" name="contactName" id="contactName" />
                <div class="clear"></div>
            </div>
            <div class="formField">
                <label for="contactEmail"><?php 
        _e('Email', ETHEME_DOMAIN);
        ?>
 <span class="required">*</span></label>
                <input type="text" class="textField required-field email" name="contactEmail" id="contactEmail" />
                <div class="clear"></div>
            </div>
            <div class="formField">
                <label for="contactSubject"><?php 
        _e('Tiêu đề :', ETHEME_DOMAIN);
        ?>
</label>
                <input type="text" class="textField" name="contactSubject" id="contactSubject" />
                <div class="clear"></div>
            </div>
            <div class="formField">
                <label for="contactMessage"><?php 
        _e('Nội dung tin nhắn : ', ETHEME_DOMAIN);
        ?>
 <span class="required">*</span></label>
                <textarea class="textField required-field" name="contactMessage" id="contactMessage" cols="30" rows="10"></textarea>
                <div class="clear"></div>
            </div>
            <div class="formField ">
                <button class="button" name="contactSubmit" type="submit"><span><?php 
        _e('Gửi', ETHEME_DOMAIN);
        ?>
</span></button>
                <div class="contactSpinner"></div>
            </div>
        </form>      
    </div>
    <div class="one-third last fl-r">
        <div class="block non-line contats">
            <?php 
        etheme_option('contacts_info');
        ?>
        </div>
    </div>
<?php 
    }
}