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

From IThemes Codex
Revision as of 16:20, 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 images in one of the the content-product template part's loops.

Contents

Theme Location

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

Action Hooks

Theme API

Default Code

<?php
/**
 * The default template part for the product
 * images in one of the the content-product
 * template part's loops.
 *
 * @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-images' ) ) : ?>
	<?php do_action( 'it_exchange_content_product_before_product_images_element' ); ?>
	<div class="it-exchange-column it-exchange-product-images">
		<div class="it-exchange-column-inner">
			<?php it_exchange( 'product', 'gallery' ); ?>
		</div>
	</div>
	<?php do_action( 'it_exchange_content_product_after_product_images_element' ); ?>
<?php endif; ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox