woocommerce/templates/single-product/tabs/description.php

24 lines
525 B
PHP
Raw Normal View History

2011-12-09 22:44:03 +00:00
<?php
/**
2012-08-14 18:05:45 +00:00
* Description tab
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
2011-12-09 22:44:03 +00:00
*/
2012-08-14 18:05:45 +00:00
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
2011-12-09 22:44:03 +00:00
global $woocommerce, $post;
2012-04-03 09:34:02 +00:00
if ( $post->post_content ) : ?>
<div class="panel entry-content" id="tab-description">
2012-08-14 18:05:45 +00:00
2012-10-16 15:35:16 +00:00
<?php $heading = esc_html( apply_filters('woocommerce_product_description_heading', __( 'Product Description', 'woocommerce' ) ) ); ?>
2012-08-14 18:05:45 +00:00
2012-04-03 09:34:02 +00:00
<h2><?php echo $heading; ?></h2>
2012-08-14 18:05:45 +00:00
2012-04-03 09:34:02 +00:00
<?php the_content(); ?>
2012-08-14 18:05:45 +00:00
2012-04-03 09:34:02 +00:00
</div>
<?php endif; ?>