?> " title="<?php bloginfo('name'); ?> "> <?php $size = @getimagesize(yit_get_option('logo-url')); ?> <img src="<?php echo yit_ssl_url(yit_get_option('logo-url')); ?> " <?php if (yit_get_option('logo-retina-url')) { ?> data-at2x="<?php echo yit_ssl_url(yit_get_option('logo-retina-url')); ?> "<?php } ?> title="<?php bloginfo('name'); ?> " alt="<?php bloginfo('name'); ?> " <?php if (!empty($size) && isset($size[3])) { echo $size[3]; } ?>
} ?> <?php yit_edit_post_link(__('Edit', 'yit'), '<span class="yit-edit-post"><i class="fa fa-pencil-square-o"></i>', '</span>'); ?> <?php if ($show_share) { ?> <span class="share <?php echo $share_icon_class; ?> " <?php if ($share_icon_type == 'custom') { echo yit_ssl_url($share_icon); } ?> > <?php if ($share_icon_type == 'icon') { echo $share_icon; } ?> <span class="share-text"><?php echo $share_text; ?> </span> <div class="socials-container"> <?php echo yit_get_social_share('text', 'arrow-right');
$show_meta_box = ( $show_author || $show_comments || $show_categories || ( $show_tags && $has_tags ) ) ? true : false; $author_icon_options = yit_get_option( 'blog-author-icon' ); $author_icon_type = $author_icon_options['select']; $author_icon = ( $author_icon_type == 'none' ) ? false : ( ( $author_icon_type == 'icon' ) ? '<i class="fa fa-' . $author_icon_options['icon'] . '"></i>' : 'style="background: transparent url(' . yit_ssl_url( $author_icon_options['custom'] ) . ') top left no-repeat"' ); $author_icon_class = ( $author_icon_type == 'none' ) ? 'without-icon' : ( ( $author_icon_type == 'custom' ) ? 'with-icon' : 'with-icon awesome' ); $categories_icon_options = yit_get_option( 'blog-categories-icon' ); $categories_icon_type = $categories_icon_options['select']; $categories_icon = ( $categories_icon_type == 'none' ) ? false : ( ( $categories_icon_type == 'icon' ) ? '<i class="fa fa-' . $categories_icon_options['icon'] . '"></i>' : 'style="background: transparent url(' . yit_ssl_url( $categories_icon_options['custom'] ) . ') top left no-repeat"' ); $categories_icon_class = ( $categories_icon_type == 'none' ) ? 'without-icon' : ( ( $categories_icon_type == 'custom' ) ? 'with-icon' : 'with-icon awesome' ); $tags_icon_options = yit_get_option( 'blog-tags-icon' ); $tags_icon_type = $tags_icon_options['select']; $tags_icon = ( $tags_icon_type == 'none' ) ? false : ( ( $tags_icon_type == 'icon' ) ? '<i class="fa fa-' . $tags_icon_options['icon'] . '"></i>' : 'style="background: transparent url(' . yit_ssl_url( $tags_icon_options['custom'] ) . ') top left no-repeat"' ); $tags_icon_class = ( $tags_icon_type == 'none' ) ? 'without-icon' : ( ( $tags_icon_type == 'custom' ) ? 'with-icon' : 'with-icon awesome' ); $comments_icon_options = yit_get_option( 'blog-comments-icon' ); $comments_icon_type = $comments_icon_options['select']; $comments_icon = ( $comments_icon_type == 'none' ) ? false : ( ( $comments_icon_type == 'icon' ) ? '<i class="fa fa-' . $comments_icon_options['icon'] . '"></i>' : 'style="background: transparent url(' . yit_ssl_url( $comments_icon_options['custom'] ) . ') top left no-repeat"' ); $comments_icon_class = ( $comments_icon_type == 'none' ) ? 'without-icon' : ( ( $comments_icon_type == 'custom' ) ? 'with-icon' : 'with-icon awesome' ); $title = ( get_the_title() != '' ) ? get_the_title() : __( '(this post does not have a title)', 'yit' ); $read_more_text = yit_get_option( 'blog-read-more-text' ) != '' ? yit_get_option( 'blog-read-more-text' ) : __( 'Read More', 'yit' ); $post_meta_separator = ' / '; $link = get_permalink(); $has_pagination = ( $wp_query->max_num_pages > 1 ) ? true : false; $image_size = YIT_Registry::get_instance()->image->get_size( 'blog_' . $blog_type ); $sidebars = YIT_Layout()->sidebars; $bootstrap_col_class = ''; if( $blog_type != 'big' && ! is_singular( 'post' ) ){ if( $sidebars['layout'] == 'sidebar-no' ){ $bootstrap_col_class = 'col-sm-3 col-xs-6'; }elseif( $sidebars['layout'] == 'sidebar-double' ){ $bootstrap_col_class = 'col-sm-6 col-xs-6';
<?php do_action('yit_before_center_copyright'); ?> <div class="centered"> <?php echo yit_convert_tags(yit_addp(stripslashes(yit_ssl_url(yit_get_option('footer-center-text'))))); ?> </div> <?php do_action('yit_after_center_copyright'); } else { ?> <?php do_action('yit_before_left_copyright'); ?> <div class="left span6"> <?php echo yit_convert_tags(yit_addp(stripslashes(yit_ssl_url(yit_get_option('footer-left-text'))))); ?> </div> <?php do_action('yit_after_left_copyright'); ?> <div class="right span6"> <?php echo yit_convert_tags(yit_addp(stripslashes(yit_ssl_url(yit_get_option('footer-right-text'))))); ?> </div> <?php do_action('yit_after_right_copyright'); }
?> </a> </span> <?php } ?> <?php if ($show_tags && $has_tags) { ?> <span class="tags <?php echo $tags_icon_class; ?> " <?php if ($tags_icon_type == 'custom') { echo yit_ssl_url($tags_icon); } ?> > <?php if ($tags_icon_type == 'icon') { echo $tags_icon; } ?> <?php the_tags(__('Tags: ', 'yit'), ', '); ?> </span> <?php } ?>
?> <li> <a href="<?php echo yit_ssl_url(get_permalink($cart_item['product_id'])); ?> "> <?php echo $_product->get_image(); ?> </a> <a href="<?php echo yit_ssl_url(get_permalink($cart_item['product_id'])); ?> " class="name"> <?php echo apply_filters('woocommerce_widget_cart_product_title', $_product->get_title(), $_product); ?> </a> <?php echo apply_filters('woocommerce_cart_item_remove_link', sprintf('<a href="%s" class="remove_item" title="%s">%s</a>', esc_url($woocommerce->cart->get_remove_url($cart_item_key)), __('Remove this item', 'yit'), __('remove', 'yit')), $cart_item_key); ?> <?php echo $woocommerce->cart->get_item_data($cart_item);
if ( ! apply_filters( 'woocommerce_widget_cart_item_visible', true, $cart_item, $cart_item_key ) || ! $_product->exists() || $cart_item['quantity'] == 0 ) { continue; } $product_name = apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item, $_product ); $product_price = get_option( 'woocommerce_tax_display_cart' ) == 'excl' || $woocommerce->customer->is_vat_exempt() ? $_product->get_price_excluding_tax() : $_product->get_price_including_tax(); $product_price = apply_filters( 'woocommerce_cart_item_price', wc_price( $product_price ), $cart_item, $cart_item_key ); $thumbnail = apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key ); ?> <li> <a href="<?php echo yit_ssl_url( get_permalink( $cart_item['product_id'] ) ); ?>"> <?php echo $thumbnail; ?> </a> <a href="<?php echo yit_ssl_url( get_permalink( $cart_item['product_id'] ) ); ?>" class="name"> <?php echo $product_name; ?> </a> <?php $remove_link_fix = apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a href="%s" class="remove_item" title="%s">%s</a>', esc_url( $woocommerce->cart->get_remove_url( $cart_item_key ) ), $remove_this_item, $remove_item ), $cart_item_key ); echo $remove_link_fix; ?> <?php echo WC()->cart->get_item_data( $cart_item ); ?> <?php echo apply_filters( 'woocommerce_widget_cart_item_quantity', '<span class="quantity">' . sprintf( '%s × %s', $cart_item['quantity'], $product_price ) . '</span>', $cart_item, $cart_item_key ); ?> <div class="border clear"></div> </li>
* This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.gnu.org/licenses/gpl-3.0.txt */ yit_meta_tags(); ?> <title><?php yit_title(); ?> </title> <!-- BOOTSTRAP STYLESHEET --> <link rel="stylesheet" type="text/css" media="all" href="<?php echo yit_ssl_url(YIT_CORE_ASSETS_URL) . '/css/reset-bootstrap.css'; ?> " /> <!-- MAIN THEME STYLESHEET --> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?> " /> <!-- PINGBACK & WP STANDARDS --> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?> " />
$width_tagline = ( yit_get_option( 'header-logo-tagline' ) == 'yes' ) ? 'with_tagline' : 'no-tagline'; ?> <!-- START LOGO --> <div id="logo" class="<?php echo $width_tagline ?>" > <?php if( yit_get_option( 'header-custom-logo' ) == 'yes' && yit_get_option( 'header-custom-logo-image' ) != '' ) : ?> <a id="logo-img" href="<?php echo home_url() ?>" title="<?php bloginfo( 'name' ) ?>"> <?php $size = @getimagesize(yit_get_option( 'header-custom-logo-image' )); ?> <img class="no-dark" src="<?php echo yit_ssl_url( yit_get_option( 'header-custom-logo-image' ) ) ?>" <?php if( yit_get_option( 'logo-retina-url' ) ): ?>data-at2x="<?php echo yit_ssl_url( yit_get_option( 'logo-retina-url' ) ) ?>"<?php endif ?>title="<?php bloginfo( 'name' ) ?>" alt="<?php bloginfo( 'name' ) ?>" <?php if( !empty($size) && isset($size[3] ) ) echo $size[3] ?> /> <?php if ( 'yes' == YIT_Layout()->enable_dark_header ) : ?> <?php $size = @getimagesize(yit_get_option( 'header-dark-custom-logo-image' )); ?> <img class="only-dark" src="<?php echo yit_ssl_url( yit_get_option( 'header-dark-custom-logo-image' ) ) ?>" title="<?php bloginfo( 'name' ) ?>" alt="<?php bloginfo( 'name' ) ?>" <?php if( !empty($size) && isset($size[3] ) ) echo $size[3] ?> /> <?php endif; ?> </a> <?php else : ?> <a id="textual" href="<?php echo home_url() ?>" title="<?php echo str_replace( array( '[', ']' ), '', bloginfo( 'name' ) ) ?>"> <?php echo yit_decode_title( get_bloginfo( 'name' ) ) ?> </a> <?php endif ?> <?php if( yit_get_option( 'header-logo-tagline' ) == 'yes' ): $class = array(); if ( strpos( get_bloginfo( 'description' ), '|') ) $class[] = 'multiline'; if ( yit_get_option('header-logo-tagline-mobile') == 'no' ) $class[] = 'hidden-xs';
* @package WordPress * @subpackage Your Inspiration Themes * @author Your Inspiration Themes Team <*****@*****.**> * * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.gnu.org/licenses/gpl-3.0.txt */ if( yit_get_option( 'custom-logo' ) && yit_get_option( 'logo-url' ) != '' ) : $logo_id = yit_get_attachment_id( yit_get_option( 'logo-url' ) ); $logo_alt = get_post_meta( $logo_id, '_wp_attachment_image_alt', true ); ?> <a id="logo-img" href="<?php echo home_url() ?>" title="<?php bloginfo( 'name' ) ?>"> <img src="<?php echo yit_ssl_url( yit_get_option( 'logo-url' ) ) ?>" title="<?php bloginfo( 'name' ) ?>" alt="<?php echo !empty( $logo_alt ) ? $logo_alt : get_bloginfo( 'name' ) ?>" /> </a> <?php else : ?> <a id="textual" href="<?php echo home_url() ?>" title="<?php echo str_replace( array( '[', ']' ), '', bloginfo( 'name' ) ) ?>"> <?php echo yit_decode_title( get_bloginfo( 'name' ) ) ?> </a> <?php endif ?> <?php if( yit_get_option( 'logo-tagline' ) ): $class = array(); if ( strpos( get_bloginfo( 'description' ), '|') ) $class[] = 'multiline'; if ( ! yit_get_option('responsive-show-logo-tagline') ) $class[] = 'hidden-phone'; $class = ! empty( $class ) ? ' class="' . implode( $class, ' ' ) . '"' : ''; ?> <?php yit_string( "<p id='tagline'{$class}>", yit_decode_title( get_bloginfo( 'description' ) ), '</p>' );?> <?php endif ?>