function advertica_bg_style($option) { $background = sketch_get_option($option); $bg_style = NULL; if ($background) { if ($background['image']) { $bg_style = 'background:'; if ($background['color']) { $bg_style .= $background['color']; } if ($background['image']) { $bg_style .= ' url(' . $background['image'] . ')'; } if ($background['repeat']) { $bg_style .= ' ' . $background['repeat']; } if ($background['attachment']) { $bg_style .= ' ' . $background['attachment']; } if ($background['position']) { $bg_style .= ' ' . $background['position'] . ';'; } } else { if ($background['color']) { $bg_style .= 'background:' . $background['color']; } } } return $bg_style; }
function custom_breadcrumb() { global $shortname; global $themename; $ske_bdcrumb_stype = sketch_get_option($shortname . '_bdcrumb_stype'); if ($ske_bdcrumb_stype === "bimage") { $ske_bstype = "<span class='brd_arr'></span>"; } elseif ($ske_bdcrumb_stype === "btext") { $ske_bstype = " " . sketch_get_option($shortname . '_bdcrumb_stxt'); } $this->opts = array('before' => ' ', 'after' => ' ', 'delimiter' => $ske_bstype); $markup = $this->opts['before'] . $this->opts['delimiter'] . $this->opts['after']; global $post, $options; echo '<section class="cont_nav"><div class="cont_nav_inner"><p><a href="' . esc_url(home_url('/')) . '">' . __('Home', 'biznez-lite') . '</a>'; if (!is_home()) { echo $markup; } $output = $this->simple_breadcrumb_case($post); if (is_page() || is_single()) { the_title('<span>', '</span>'); } else { echo $output; } echo "</p></div></section>"; }
function biznez_head() { global $shortname; $skt_favicon = ""; $skt_meta = '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />' . "\n"; if (sketch_get_option($shortname . '_favicon')) { $skt_favicon = sketch_get_option($shortname . '_favicon', 'biznez-lite'); $skt_meta .= "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"{$skt_favicon}\"/>\n"; } echo $skt_meta; }
function advertica_head() { global $advertica_shortname; $advertica_favicon = ""; $advertica_meta = '<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">' . "\n"; if (sketch_get_option($advertica_shortname . '_favicon')) { $advertica_favicon = sketch_get_option($advertica_shortname . '_favicon', 'bizstudio'); $advertica_meta .= "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"{$advertica_favicon}\"/>\n"; } echo $advertica_meta; if (!is_admin()) { require_once get_template_directory() . '/includes/advertica-custom-css.php'; } }
function incart_head() { global $incart_lite_shortname; $incart_favicon = ""; $incart_meta = '<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">' . "\n"; if (sketch_get_option($incart_lite_shortname . '_favicon')) { $incart_favicon = esc_url(sketch_get_option($incart_lite_shortname . '_favicon', 'incart-lite')); $incart_meta .= "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"{$incart_favicon}\"/>\n"; } echo $incart_meta; if (!is_admin()) { require_once get_template_directory() . '/includes/incart-custom-css.php'; } }
/** * A unique identifier is defined to store the options in the database and reference them from the theme. * By default it uses the theme name, in lowercase and without spaces, but this can be changed if needed. * If the identifier changes, it'll appear as if the options have been reset. */ function optionsframework_option_name() { global $shortname; global $themename; // This gets the theme name from the stylesheet $themename = get_option('stylesheet'); $themename = preg_replace("/\\W/", "_", strtolower($themename)); $optionsframework_settings = get_option('optionsframework'); $optionsframework_settings['id'] = $themename; update_option('optionsframework', $optionsframework_settings); //setting contact us page if (sketch_get_option($shortname . '_contact_page')) { select_template(sketch_get_option($shortname . '_contact_page')); } }
<!-- #logo --> <!-- navigation--> <div class="top-nav-menu span9"> <?php invert_nav(); ?> </div> <!-- #navigation --> </div> </div> </div> <!-- #skehead --> </div> <!-- .glow --> </div> <!-- #header --> <!-- header image section --> <!-- Header image --> <div class="flexslider"> <div class="post"><img alt="invert-default-slider-image" class="default-slider-image" src="<?php if (sketch_get_option($invert_shortname . '_frontslider_stype')) { echo sketch_get_option($invert_shortname . '_frontslider_stype'); } else { echo esc_url(get_template_directory_uri() . '/images/invert.jpg'); } ?> " ></div> </div> <div id="main" class="clearfix">
} ?> "> <i class="fa fa-sitemap"></i> </a> <?php } ?> </div> <div class="iconbox-content"> <h4><?php if (sketch_get_option($advertica_shortname . "_fb3_third_part_heading")) { echo sketch_get_option($advertica_shortname . "_fb3_third_part_heading"); } ?> </h4> <p><?php if (sketch_get_option($advertica_shortname . "_fb3_third_part_content")) { echo sketch_get_option($advertica_shortname . "_fb3_third_part_content"); } ?> </p> </div> <div class="clearfix"></div> </div> </div> <div class="clearfix"></div> </div> </div> </div>
</p> <ul class="teamsocial"> <?php if (sketch_get_option($shortname . '_tm_fb3')) { $fb_url3 = esc_url(sketch_get_option($shortname . '_tm_fb3', 'biznez-lite')); } ?> <?php if (sketch_get_option($shortname . '_tm_tw3')) { $tw_url3 = esc_url(sketch_get_option($shortname . '_tm_tw3', 'biznez-lite')); } ?> <?php if (sketch_get_option($shortname . '_tm_drd3')) { $drb_url3 = esc_url(sketch_get_option($shortname . '_tm_drd3', 'biznez-lite')); } ?> <?php if ($fb_url3) { ?> <li><a class="tooltip" title="Facebook" href="<?php echo $fb_url3; ?> "><span class="team-fb"></span></a></li><?php } ?> <?php if ($tw_url3) { ?> <li><a class="tooltip" title="Twitter" href="<?php
} if (sketch_get_option($invert_shortname . '_img5_icon')) { ?> <li class="span2"><a href="<?php if (sketch_get_option($invert_shortname . '_img5_link')) { echo esc_url(sketch_get_option($invert_shortname . '_img5_link', 'invert')); } ?> " title="<?php if (sketch_get_option($invert_shortname . '_img5_title')) { echo sketch_get_option($invert_shortname . '_img5_title', 'invert'); } ?> "><img alt="client-logo" src="<?php if (sketch_get_option($invert_shortname . '_img5_icon')) { echo sketch_get_option($invert_shortname . '_img5_icon', 'invert'); } ?> "></a></li> <?php } else { ?> <li class="span2"><a href="#" title="<?php _e('Client Title', 'invert'); ?> "><img alt="client-logo" src="<?php echo $clientimage4; ?> "></a></li> <?php }
echo get_permalink($post->ID); ?> "><?php _e('Read More →', 'biznez-lite'); ?> </a></div> </div> </div> <div class="clearfix"></div> <?php } ?> <div class="navigation"> <?php if (function_exists('biznez_pagenavi') && sketch_get_option($shortname . '_show_pagenavi')) { biznez_pagenavi(); } else { ?> <div class="alignleft"><?php previous_posts_link('←Previous'); ?> </div> <div class="alignright"><?php next_posts_link('Next→', ''); ?> </div> <?php } ?>
while (have_posts()) { the_post(); ?> <div class="bread-title-holder"> <div class="bread-title-bg-image full-bg-breadimage-fixed"></div> <div class="container"> <div class="row-fluid"> <div class="container_inner clearfix"> <h1 class="title"> <?php the_title(); ?> </h1> <?php if (sketch_get_option($invert_shortname . "_hide_bread") == 'true') { if (class_exists('invert_breadcrumb_class')) { $invert_breadcumb->custom_breadcrumb(); } } ?> </div> </div> </div> </div> <div class="container post-wrap"> <div class="row-fluid"> <div id="container" class="span8"> <div id="content"> <div class="post" id="post-<?php
?> , 'slides':'4', 'delay': <?php if (sketch_get_option($shortname . '_janimation')) { echo sketch_get_option($shortname . '_janimation'); } else { echo '1000'; } ?> , 'tspeed' : <?php if (sketch_get_option($shortname . '_tspeed')) { echo sketch_get_option($shortname . '_tspeed'); } else { echo '1000'; } ?> , 'hoverpause': <?php if (sketch_get_option($shortname . '_hide_jcnavigation')) { echo sketch_get_option($shortname . '_hide_jcnavigation'); } else { echo '0'; } ?> }); }); </script>
?> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery(window).load(function() { jQuery('#featuredslider,#featuredfullslider').orbit({ animation: '<?php if (sketch_get_option($shortname . '_effect_select')) { echo sketch_get_option($shortname . '_effect_select'); } else { echo 'fade'; } ?> ', // fade, horizontal-slide, vertical-slide, horizontal-push animationSpeed:<?php if (sketch_get_option($shortname . '_animation_speed')) { echo sketch_get_option($shortname . '_animation_speed'); } else { echo '800'; } ?> , // how fast animtions are timer: true, // true or false to have the timer advanceSpeed:4000, // if timer is enabled, time between transitions pauseOnHover: false, // if you hover pauses the slider startClockOnMouseOut: false, // if clock should start on MouseOut startClockOnMouseOutAfter:1000, // how long after MouseOut should the timer start again directionalNav:true, // manual advancing directional navs captions: true, // do you want captions? captionAnimation: 'fade', // fade, slideOpen, none captionAnimationSpeed: 800, // if so how quickly should they animate in bullets:true, // true or false to activate the bullet navigation
function biznez_circular_latestwork() { global $shortname; // Circular Latest Work if (sketch_get_option($shortname . '_circal_work', 'biznez-lite')) { ?> <script type="text/javascript"> jQuery(document).ready(function() { if ( jQuery('.front_clients').hasClass('jsquare') ) { jQuery('.front_clients').removeClass('jsquare'); jQuery('.front_clients').addClass('jcircal'); } else { jQuery('.front_clients').addClass('jsquare'); } }); </script> <?php } }
color: <?php if (isset($skt_bread_title_color)) { echo $skt_bread_title_color; } ?> ; } /***************** WOOCOMMERCE-STYLE *****************/ <?php if (sketch_get_option($incart_lite_shortname . '_woopricecolor')) { $_woopricecolor = sketch_get_option($incart_lite_shortname . '_woopricecolor'); } if (sketch_get_option($incart_lite_shortname . '_wooratingcolor')) { $_wooratingcolor = sketch_get_option($incart_lite_shortname . '_wooratingcolor'); } ?> .woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce-page form .form-row input.input-text:focus, .woocommerce-page form .form-row textarea:focus,select:focus{ border-color: <?php if (isset($color_scheme)) { echo $color_scheme; } ?> ; } .woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price, .woocommerce #content div.product p.price, .woocommerce #content div.product span.price, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce-page #content div.product p.price, .woocommerce-page #content div.product span.price, .woocommerce-page div.product p.price, .woocommerce-page div.product span.price {color: <?php if (isset($_woopricecolor)) { echo $_woopricecolor; } ?>
*/ get_header(); ?> <?php global $incart_lite_shortname; ?> <div class="main-wrapper-item"> <div class="bread-title-holder"> <div class="bread-title-bg-image full-bg-breadimage-fixed"></div> <div class="container"> <div class="row-fluid"> <div class="container_inner clearfix"> <h1 class="title"><?php if (sketch_get_option($incart_lite_shortname . '_blogpage_heading')) { echo sketch_get_option($incart_lite_shortname . '_blogpage_heading'); } ?> </h1> </div> </div> </div> </div> <div class="container post-wrap"> <div class="row-fluid"> <div id="container" class="span8"> <div id="content"> <?php if (have_posts()) { ?>
<div class="Skt-header-image"> <!-- header image --> <div class="advertica-image-post"><img alt="advertica-default-slider-image" class="ad-slider-image" width="1585" src="<?php if (sketch_get_option($advertica_shortname . '_frontslider_stype')) { echo sketch_get_option($advertica_shortname . '_frontslider_stype'); } ?> " ></div> <!-- end header image --> </div>
" title="Img"> <img class="skin-bg" src="<?php if (sketch_get_option($incart_lite_shortname . '_fb3_third_part_image')) { echo sketch_get_option($incart_lite_shortname . '_fb3_third_part_image', 'incart-lite'); } else { echo get_template_directory_uri() . '/images/Feature-image-03.png'; } ?> " alt="boximg"/> <span class="iconboxhover"></span> </a> </div> <div class="iconbox-content"> <h4><a href="<?php if (sketch_get_option($incart_lite_shortname . "_fb3_third_part_link")) { echo esc_url(sketch_get_option($incart_lite_shortname . "_fb3_third_part_link")); } ?> " title="<?php if ($_featured_title3) { echo $_featured_title3; } ?> "><?php if ($_featured_title3) { echo $_featured_title3; } ?> </a><br /><hr></h4> </div> <div class="clearfix"></div>
?> "></a></li><?php } ?> <?php if (sketch_get_option($advertica_shortname . '_img5_icon')) { ?> <li class="span2"><a href="<?php if (sketch_get_option($advertica_shortname . '_img5_link')) { echo esc_url(sketch_get_option($advertica_shortname . '_img5_link', 'advertica-lite')); } ?> " title="<?php if (sketch_get_option($advertica_shortname . '_img5_title')) { echo sketch_get_option($advertica_shortname . '_img5_title', 'advertica-lite'); } ?> "><img alt="client-logo" src="<?php if (sketch_get_option($advertica_shortname . '_img5_icon')) { echo sketch_get_option($advertica_shortname . '_img5_icon', 'advertica-lite'); } ?> "></a></li><?php } ?> </ul> </div> </div> </div>
<div class="bread-title-holder"> <div class="bread-title-bg-image full-bg-breadimage-fixed"></div> <div class="container"> <div class="row-fluid"> <div class="container_inner clearfix"> <h1 class="title"> <?php $curauth = isset($_GET['author_name']) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); ?> <?php _e('Author Archives : ', 'advertica-lite'); echo $curauth->display_name; ?> </h1> <?php if (sketch_get_option($advertica_shortname . "_hide_bread") == 'true') { if (class_exists('advertica_breadcrumb_class')) { $advertica_breadcumb->custom_breadcrumb(); } } ?> </div> </div> </div> </div> <div class="container post-wrap"> <div class="row-fluid"> <div id="container" class="span8"> <div id="content"> <?php if (have_posts()) {
$bg_color = sketch_get_option($shortname . '_colorpicker', 'biznez-lite'); } if (sketch_get_option($shortname . '_headerbackground')) { $headerbg_color = sketch_get_option($shortname . '_headerbackground', 'biznez-lite'); } if (sketch_get_option($shortname . '_breadcrumb')) { $skt_breadcrumb = sketch_get_option($shortname . '_breadcrumb'); } if (sketch_get_option($shortname . '_bdcrumb_simg')) { $skt_bdcrumb_simg = sketch_get_option($shortname . '_bdcrumb_simg'); } if (sketch_get_option($shortname . '_logo_wdth')) { $skt_logo_wdth = sketch_get_option($shortname . '_logo_wdth'); } if (sketch_get_option($shortname . '_logo_hght')) { $skt_logo_hght = sketch_get_option($shortname . '_logo_hght'); } ?> <style> .skin-bg,div.next,div.prev,.filter .current a,.filter a:hover,.post-image span,.feature_image span,div.slider-nav span.left:hover,div.slider-nav span.right:hover,#respond .form-submit input,.filter li .selected,.widget_tag_cloud a:hover,.lightbox span,.front-icon-wrap,.front-img-wrap,.skt-slide-controls a.skt-prev-slide,.skt-slide-controls a.skt-next-slide,.woocommerce-info:before,.contactmailusform input[type="submit"]{ background-color:<?php if (isset($bg_color)) { echo $bg_color; } ?> ; } .CallToActionbtn,#content #contact-page form input[type="submit"],#mainnav,.slider-link-box .over-color,a#backtop,thead th{ background:<?php if (isset($bg_color)) { echo $bg_color; } ?> ;}
if (isset($bg_color)) { echo $bg_color; } else { echo '#1ac8d2'; } ?> ; } .col-one .box .title, .col-two .box .title, .col-three .box .title, .col-four .box .title {color: <?php if (isset($bg_color)) { echo $bg_color; } ?> !important; } <?php if (sketch_get_option($invert_shortname . '_bread_stype')) { $bread_type = sketch_get_option($invert_shortname . '_bread_stype'); } if (isset($bread_type)) { if ($bread_type == "brcolor") { ?> .full-bg-breadimage-fixed { background-color: <?php if (isset($breadcolor)) { echo $breadcolor; } ?> ;} <?php } if ($bread_type == "brimage") { ?> .full-bg-breadimage-fixed { background-image: url("<?php
<div id="full-division-box" class="skt-section"> <div class="container full-content-box" > <div class="row-fluid"> <div class="span12"> <?php if (sketch_get_option($incart_lite_shortname . '_para_content_left')) { $_para_content_left = sketch_get_option($incart_lite_shortname . '_para_content_left'); } ?> <?php if (isset($_para_content_left)) { echo do_shortcode($_para_content_left); } ?> </div> </div> </div> </div>
*/ get_header(); ?> <?php global $advertica_shortname; ?> <div class="main-wrapper-item"> <div class="bread-title-holder"> <div class="bread-title-bg-image full-bg-breadimage-fixed"></div> <div class="container"> <div class="row-fluid"> <div class="container_inner clearfix"> <h1 class="title"><?php if (sketch_get_option($advertica_shortname . '_blogpage_heading')) { echo sketch_get_option($advertica_shortname . '_blogpage_heading'); } ?> </h1> </div> </div> </div> </div> <div class="container post-wrap"> <div class="row-fluid"> <div id="container" class="span8"> <div id="content"> <?php if (have_posts()) { ?>
if (sketch_get_option($shortname . '_frontmain_content')) { echo sketch_get_option($shortname . '_frontmain_content', 'biznez-lite'); } else { _e('This is beautiful, Clean and easy to customize, unique, responsive Wordpress theme With lot's of shortcodes and features and perfectly suitable for any kind of business.', 'biznez-lite'); } ?> </h3></div> <?php if (sketch_get_option($shortname . '_frontmain_buttonlink')) { ?> <div class="CallToActionbtn skin-bg grid_6"><a href="<?php echo sketch_get_option($shortname . '_frontmain_buttonlink', 'biznez-lite'); ?> "><?php if (sketch_get_option($shortname . '_frontmain_buttontext')) { echo sketch_get_option($shortname . '_frontmain_buttontext', 'biznez-lite'); } else { _e('Download Theme', 'biznez-lite'); } ?> </a></div> <?php } ?> </div> <!--#CallToAction-bg--> <?php } ?> <div class="clear"></div> </div> <!--Content --> </div>
<div id="footer-area"> <div class="container_24 clearfix"> <div class="grid_24"> <div id="footer" class="page"> <div id="foot-sidebar"> <?php get_sidebar('footer'); ?> </div> </div> </div> </div> <div class="bottom_wrapper container_24 clearfix"> <div id="site-info" class="grid_10"><?php if (sketch_get_option($shortname . "_copyright")) { echo sketch_get_option($shortname . "_copyright"); } ?> </div> <div class="owner grid_12 alpha omega"><?php _e('Biznez Theme by ', 'biznez-lite'); ?> <a class="biznez-link" href="http://www.sketchthemes.com/" target="_blank" title="Sketch Themes"><?php _e('SketchThemes', 'biznez-lite'); ?> </a></div> </div><!-- #bottom_wrapper --> </div> <a href="JavaScript:void(0);" title="Back To Top" id="backtop"></a> <!-- #Footer Area --> <?php
<!-- #logo --> <div id="logo" class="span4"> <?php if (sketch_get_option($advertica_shortname . "_logo_img")) { ?> <a href="<?php echo esc_url(home_url('/')); ?> " title="<?php bloginfo('name'); ?> " ><img class="logo" src="<?php echo esc_url(sketch_get_option($advertica_shortname . "_logo_img")); ?> " alt="<?php echo esc_attr(sketch_get_option($advertica_shortname . "_logo_alt")); ?> " /></a> <?php } else { ?> <!-- #description --> <div id="site-title" class="logo_desp"> <a href="<?php echo esc_url(home_url('/')); ?> " title="<?php bloginfo('name'); ?> " ><?php bloginfo('name');
<?php if (have_posts()) { ?> <?php while (have_posts()) { the_post(); ?> <?php get_template_part('content', get_post_format()); ?> <?php } ?> <div class="navigation"> <?php if (function_exists("invert_paginate") && sketch_get_option($invert_shortname . '_show_pagination')) { invert_paginate(); } else { ?> <div class="alignleft"><?php previous_posts_link(__('←Previous', 'invert'), 0); ?> </div> <div class="alignright"><?php next_posts_link(__('Next→', 'invert'), 0); ?> </div> <?php } ?>
?> </div> </div> <!-- #description --> <?php } ?> <!-- #logo --> </div> <div class="right-section grid_16 omega"> <div class="menu_wrapper"> <div class="mobile_no"><?php _e('Contact:', 'biznez-lite'); ?> <a href="tel:<?php if (sketch_get_option($shortname . "_header_phone")) { echo sketch_get_option($shortname . "_header_phone"); } ?> "> <?php if (sketch_get_option($shortname . "_header_phone")) { echo sketch_get_option($shortname . "_header_phone"); } ?> </a></div> <!-- Hedaer Navigation --> <div id="mainnav"> <div id="skenav"> <div class="skenav-mid">