Exchange Theme Templates: content-store/elements/featured-image.php

From IThemes Codex
Revision as of 17:07, 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 featured-image in the content-store template part's product-images loop *

Contents

Theme Location

theme/exchange/content-store/elements/featured-image.php

Action Hooks

Theme API

Default Code

<?php
/**
 * The default template part for the product featured-image in
 * the content-store template part's product-images 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 over this
 * file's content to the exchange/content-store/elements
 * directory located in your theme.
*/
?>

<?php if ( it_exchange( 'product', 'has-featured-image' ) ) : ?>
	<?php do_action( 'it_exchange_content_store_before_featured_image_element' ); ?>
	<a class="it-exchange-product-feature-image" href="<?php it_exchange( 'product', 'permalink', array( 'format' => 'url' ) ); ?>">
		<?php it_exchange( 'product', 'featured-image', array( 'size' => 'large' ) ); ?>
	</a>
	<?php do_action( 'it_exchange_content_store_after_featured_image_element' ); ?>
<?php endif; ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox