Exchange Theme Templates: content-product/elements/description.php

From IThemes Codex
Jump to: navigation, search

The default template part for the product description in the content-product template part's product-info loop.

Contents

Theme Location

theme/exchange/content-product/elements/description.php

Action Hooks

Theme API

Default Code

<?php
/**
 * The default template part for the product
 * description in the content-product template
 * part's product-info loop.
 *
 * @since 1.1.0
 * @version 1.1.0
 * @package IT_Exchange
 *
 * WARNING: Do not edit this file directly. To use
 * this template in a theme, simply copy this file's
 * content to the exchange/content-product/elements
 * directory located in your theme.
*/
?>

<?php if ( it_exchange( 'product', 'has-description' ) ) : ?>
	<?php do_action( 'it_exchange_content_product_before_description_element' ); ?>
	<div class="it-exchange-product-description">
		<?php it_exchange( 'product', 'description' ); ?>
	</div>
	<?php do_action( 'it_exchange_content_product_after_description_element' ); ?>
<?php endif; ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox