Exchange Theme Templates: content-downloads/loops/product.php

From IThemes Codex
Revision as of 09:42, August 6, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The default product loop for the content-purchases.php template part. *

Contents

Theme Location

theme/exchange/content-downloads/loops/product.php

Action Hooks

Theme API

Default Code

<?php
/**
 * The default product loop for the
 * content-purchases.php 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, simply copy this file's
 * content to the exchange/content-download/loops
 * directory located in your theme.
*/
?>

<?php if ( it_exchange( 'transaction', 'has-products' ) ) : ?>
	<?php do_action( 'it_exchange_content_downloads_before_products_loop' ); ?>
	<?php while ( it_exchange( 'transaction', 'products' ) ) : ?>
		<?php do_action( 'it_exchange_content_downloads_begin_products_loop' ); ?>
		<?php it_exchange_get_template_part( 'content-downloads/loops/download-info' ); ?>
		<?php do_action( 'it_exchange_content_downloads_end_products_loop' ); ?>
    <?php endwhile; ?>
	<?php do_action( 'it_exchange_content_downloads_after_products_loop' ); ?>
<?php endif; ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox