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

From IThemes Codex
(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 5: Line 5:
  
 
==Action Hooks==
 
==Action Hooks==
*[[Exchange_Theme_Templates:_content-cart/elements/item-featured-image.php.php-it_exchange_content_cart_item_details_before_featured_image|it_exchange_content_cart_item_details_before_featured_image]]
+
*[[Exchange_Theme_Hooks:_it_exchange_content_cart_before_item_featured_image_element|it_exchange_content_cart_before_item_featured_image_element]]
*[[Exchange_Theme_Templates:_content-cart/elements/item-featured-image.php.php-it_exchange_content_cart_item_details_begin_featured_image|it_exchange_content_cart_item_details_begin_featured_image]]
+
*[[Exchange_Theme_Hooks:_it_exchange_content_cart_begin_item_featured_image_element|it_exchange_content_cart_begin_item_featured_image_element]]
*[[Exchange_Theme_Templates:_content-cart/elements/item-featured-image.php.php-it_exchange_content_cart_item_details_end_featured_image|it_exchange_content_cart_item_details_end_featured_image]]
+
*[[Exchange_Theme_Hooks:_it_exchange_content_cart_end_item_featured_image_element|it_exchange_content_cart_end_item_featured_image_element]]
*[[Exchange_Theme_Templates:_content-cart/elements/item-featured-image.php.php-it_exchange_content_cart_item_details_after_featured_image|it_exchange_content_cart_item_details_after_featured_image]]
+
*[[Exchange_Theme_Hooks:_it_exchange_content_cart_after_item_featured_image_element|it_exchange_content_cart_after_item_featured_image_element]]
  
 
==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==
Line 26: Line 26:
 
  * WARNING: Do not edit this file directly. To use
 
  * WARNING: Do not edit this file directly. To use
 
  * this template in a theme, copy over this file
 
  * this template in a theme, copy over this file
  * to the exchange/content-cart/items/elements/
+
  * to the exchange/content-cart/elements/
 
  * directory located in your theme.
 
  * directory located in your theme.
 
*/
 
*/
 
?>
 
?>
  
<?php do_action( 'it_exchange_content_cart_item_details_before_featured_image' ); ?>
+
<?php do_action( 'it_exchange_content_cart_before_item_featured_image_element' ); ?>
 
<div class="it-exchange-cart-item-thumbnail it-exchange-table-column">
 
<div class="it-exchange-cart-item-thumbnail it-exchange-table-column">
<?php do_action( 'it_exchange_content_cart_item_details_begin_featured_image' ); ?>
+
<?php do_action( 'it_exchange_content_cart_begin_item_featured_image_element' ); ?>
 
<div class="it-exchange-table-column-inner">
 
<div class="it-exchange-table-column-inner">
 
<?php it_exchange( 'cart-item', 'featured-image' ); ?>
 
<?php it_exchange( 'cart-item', 'featured-image' ); ?>
 
</div>
 
</div>
<?php do_action( 'it_exchange_content_cart_item_details_end_featured_image' ); ?>
+
<?php do_action( 'it_exchange_content_cart_end_item_featured_image_element' ); ?>
 
</div>
 
</div>
<?php do_action( 'it_exchange_content_cart_item_details_after_featured_image' ); ?></pre>
+
<?php do_action( 'it_exchange_content_cart_after_item_featured_image_element' ); ?>
 +
</pre>
  
 
[[Exchange_Theme_Templates|&larr; Back to Exchange Theme Templates Page]]
 
[[Exchange_Theme_Templates|&larr; Back to Exchange Theme Templates Page]]

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