示例#1
0
        ?>
                        </span>
                    <?php 
    }
    ?>

                    <?php 
    if ($show_share) {
        ?>
                        <span class="share">
                            <span class="share-text"><?php 
        echo $share_text;
        ?>
</span>
                            <div class="socials-container">
                                <?php 
        echo yit_get_social_share('icon');
        ?>
                            </div>
                        </span>
                    <?php 
    }
    ?>
                </div>
            <?php 
}
?>
        </div>
    </div>
</div>
示例#2
0
            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');
        ?>
                                </div>
                            </span>
                        <?php 
    }
    ?>

                    </div>

            <?php 
}
?>

        </div>
    </div>
示例#3
0
the_content();
?>
                </div>

                <?php 
if ($show_share) {
    ?>
                    <div class="socials-wrap border">
                        <?php 
    if (!empty($share_title)) {
        ?>
                            <h3 class="share-section-title" >
                                <?php 
        echo $share_title;
        ?>
                            </h3>
                        <?php 
    }
    ?>
                        <?php 
    yit_get_social_share('icon', 'portfolio-share content-style-social', $share_socials);
    ?>
                    </div>
                <?php 
}
?>
            </div>
        </div>
    </div>
</div>
示例#4
0
                        <?php if( ! empty( $testimonial_title ) ) : ?>
                            <h3 class="testimonial-section-title">
                                <?php echo $testimonial_title ?>
                            </h3>
                        <?php endif; ?>
                        <div class="testimonial-wrapper">
                            <div class="testimonial-cit">
                                <span class="testimonial-text">
                                    <?php echo $testimonial->post_content ?>
                                </span>
                                <h4 class="title">
                                    <?php echo $testimonial->post_title ?>
                                </h4>
                            </div>
                        </div>
                    </div>
                <?php endif; ?>
                <?php if( $show_share ) : ?>
                    <?php if( !empty( $share_title ) ) : ?>
                        <h3 class="share-section-title" >
                            <?php echo $share_title ?>
                        </h3>
                    <?php endif; ?>
                    <?php yit_get_social_share( 'square', 'portfolio-share content-style-social', $share_socials )?>
                <?php endif; ?>
            </div>
            
        </div>
    </div>
</div>
<?php

if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
echo '<div class="single-product-other-action border">';
if (yit_get_option('shop-single-share') == 'yes') {
    echo '<div class="share-link-wrapper"><span class="share-label">' . __('Share', 'yit') . '</span>';
    yit_get_social_share('square');
    echo '</div>';
}
do_action('yit_wishlist_in_other_action');
if (shortcode_exists('yith_compare_button') && get_option('yith_woocompare_compare_button_in_product_page') == 'yes' && yit_get_option('shop-single-compare') == 'yes') {
    echo do_shortcode('[yith_compare_button type="link"]');
}
echo '</div>';
示例#6
0
            </div>
            <?php if( $post_format != 'quote' ) : ?>
                <div class="yit_the_content">
                    <?php the_content() ?>
                </div>
            <?php endif; ?>
            <?php if( $show_meta_box ) : ?>
                <div class="yit_post_meta last_block clearfix">
                     <div class="blog-meta">
                         <?php if( $show_categories ) : ?>
                            <span class="categories">
                                <strong><?php echo __('Categories: ', 'yit') . ' ' ;  ?></strong>
                                <?php the_category( ', ' ); ?>
                            </span>
                        <?php endif; ?>

                        <?php if( $show_tags && $has_tags ) : ?>
                            <span class="tags">
                                <strong><?php echo __('Tags: ', 'yit') . ' ' ;  ?></strong>
                                <?php the_tags( '' , ', '); ?>
                            </span>
                        <?php endif; ?>
                     </div>
                    <?php if( $show_share ) : ?>
                        <?php yit_get_social_share( 'square', 'blog-share' )?>
                    <?php endif; ?>
                </div>
            <?php endif; ?>
        </div>
    </div>
</div>
示例#7
0
                <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');
    ?>
                    </div>
                </span>
            </div>
        <?php 
}
?>

    </div>
</div>