コード例 #1
0
 }
 ?>
         </div>
     </div>
     <div class="col-md-6 text-right small-screen-center">
         <?php 
 $check = oxy_get_option('blog_social_networks');
 if (!in_array("none", $check)) {
     ?>
             <div class="post-share">
                 <small><?php 
     _e('Share this post: ', 'omega-td');
     ?>
                 </small>
                 <?php 
     echo oxy_shortcode_sharing(array('social_networks' => implode(',', oxy_get_option('blog_social_networks')), 'icon_size' => 'sm', 'background_show' => 'simple', 'margin_top' => 'no-top inline-block', 'margin_bottom' => 'no-bottom'));
     ?>
             </div>
         <?php 
 }
 ?>
     </div>
 </div>
 <?php 
 if (oxy_get_option('author_bio') === 'on') {
     ?>
     <?php 
     $author_id = get_the_author_meta('ID');
     $author_url = get_author_posts_url($author_id);
     $extra_post_class = oxy_get_option('blog_post_icons') == 'on' ? 'post-showinfo' : '';
     ?>
コード例 #2
0
		</div>
		<div class="col-md-6">
			<div class="summary entry-summary">
				<?php 
/**
 * woocommerce_single_product_summary hook
 *
 * @hooked woocommerce_template_single_title - 5
 * @hooked woocommerce_template_single_price - 10
 * @hooked woocommerce_template_single_excerpt - 20
 * @hooked woocommerce_template_single_add_to_cart - 30
 * @hooked woocommerce_template_single_meta - 40
 * @hooked woocommerce_template_single_sharing - 50
 */
do_action('woocommerce_single_product_summary');
echo oxy_shortcode_sharing(array('social_networks' => implode(',', oxy_get_option('woo_social_networks')), 'background_shape' => 'rect', 'margin_top' => 'no-top', 'margin_bottom' => 'no-bottom'));
?>
			</div>
		</div>
	</div><!-- .summary -->

	<?php 
/**
 * woocommerce_after_single_product_summary hook
 *
 * @hooked woocommerce_output_product_data_tabs - 10
 * @hooked woocommerce_output_related_products - 20
 */
do_action('woocommerce_after_single_product_summary');
?>