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

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
 
Line 11: Line 11:
  
 
==Theme API==
 
==Theme API==
*[[Exchange_Theme_API:_cart-item|it_exchange( 'cart-item', 'featured-image' )]]
+
*[[Exchange_Theme_API:_cart-item_(featured-image)|it_exchange( 'cart-item', 'featured-image' )]]
  
 
==Default Code==
 
==Default Code==

Latest revision as of 17:42, August 1, 2013

The main template file for the Featured Image element in the cart-items loop for content-cart template part.

Contents

Theme Location

theme/exchange/content-cart/elements/item-featured-image.php

Action Hooks

Theme API

Default Code

<?php
/**
 * The main template file for the Featured Image
 * element in the cart-items loop for content-cart
 * template part.
 *
 * @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, copy over this file
 * to the exchange/content-cart/elements/
 * directory located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_cart_before_item_featured_image_element' ); ?>
<div class="it-exchange-cart-item-thumbnail it-exchange-table-column">
	<?php do_action( 'it_exchange_content_cart_begin_item_featured_image_element' ); ?>
	<div class="it-exchange-table-column-inner">
		<?php it_exchange( 'cart-item', 'featured-image' ); ?>
	</div>
	<?php do_action( 'it_exchange_content_cart_end_item_featured_image_element' ); ?>
</div>
<?php do_action( 'it_exchange_content_cart_after_item_featured_image_element' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox