Exchange Theme Templates: content-cart/elements/empty.php

(Difference between revisions)
Jump to: navigation, search
(Created page with "This is the default template part for the empty_cart element in the content-cart template part. ==Theme Location== theme/exchange/content-cart/elements/empty.php ==Action H...")
 
Line 8: Line 8:
 
*[[Exchange_Theme_Templates:_content-cart/elements/empty.php.php-it_exchange_content_cart_actions_after_empty_cart|it_exchange_content_cart_actions_after_empty_cart]]
 
*[[Exchange_Theme_Templates:_content-cart/elements/empty.php.php-it_exchange_content_cart_actions_after_empty_cart|it_exchange_content_cart_actions_after_empty_cart]]
  
==Theme Functions==
+
==Theme API==
*[[Exchange_Theme_API:_it_exchange-cart|it_exchange( 'cart', 'empty' )]]
+
*[[Exchange_Theme_API:_cart|it_exchange( 'cart', 'empty' )]]
  
 
==Default Code==
 
==Default Code==

Revision as of 11:34, July 24, 2013

This is the default template part for the empty_cart element in the content-cart template part.

Contents

Theme Location

theme/exchange/content-cart/elements/empty.php

Action Hooks

Theme API

Default Code

<?php
/**
 * This is the default template part for the
 * empty_cart element in the 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_actions_before_empty_cart' ); ?>
<?php it_exchange( 'cart', 'empty' ); ?>
<?php do_action( 'it_exchange_content_cart_actions_after_empty_cart' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox