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

From IThemes Codex
Revision as of 16:04, July 30, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/extended-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-extended-description' ) ) : ?>
	<?php do_action( 'it_exchange_content_product_before_extended_description_element' ); ?>
	<div class="it-exchange-extended-description it-exchange-advanced-item">
		<?php it_exchange( 'product', 'extended-description' ); ?>
	</div>
	<?php do_action( 'it_exchange_content_product_after_extended_description_element' ); ?>
<?php endif; ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox