Exchange Theme Templates: content-store/loops/products.php

From IThemes Codex
Revision as of 16:47, July 30, 2013 by Kopepasah (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is the default template part for the no-products-found message in the content-store template part.

Contents

Theme Location

theme/exchange/content-store/loops/products.php

Action Hooks

Theme API

Default Code

<?php
/**
 * This is the default template part for the
 * no-products-found message in the content-store
 * 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-store/elements/ directory
 * located in your theme.
*/
?>

<?php do_action( 'it_exchange_content_store_before_products_loop' ); ?>
<ul class="it-exchange-products">
	<?php do_action( 'it_exchange_content_store_begin_products_loop' ); ?>
	<?php if ( it_exchange( 'store', 'has-products' ) ) : ?>
		<?php while( it_exchange( 'store', 'products' ) ) : ?>
			<?php it_exchange_get_template_part( 'content-store/elements/product' ); ?>
		<?php endwhile; ?>
	<?php else : ?>
		<?php it_exchange_get_template_part( 'content-store/elements/no-products-found' ); ?>
	<?php endif; ?>
	<?php do_action( 'it_exchange_content_store_end_product_loops' ); ?>
</ul>
<?php do_action( 'it_exchange_content_store_before_products_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox