Exchange Theme Templates: super-widget-registration/loops/fields.php

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

This is the default template for the super-widget-registration fields loop.

Contents

Theme Location

theme/exchange/super-widget-registration/loops/fields.php

Action Hooks

Theme API

Currently no api calls for this file.

Default Code

<?php
/**
 * This is the default template for the
 * super-widget-registration fields loop.
 *
 * @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/super-widget-registration/loops directory
 * located in your theme.
*/
?>

<?php do_action( 'it_exchange_super_widget_registration_before_fields_loop' ); ?>
<?php do_action( 'it_exchange_super_widget_registration_begin_fields_loop' ); ?>
<?php foreach( it_exchange_get_template_part_elements( 'super_widget_registration', 'fields', array( 'username', 'first-name', 'last-name', 'email', 'password1', 'password2' ) ) as $field ) : ?>
	<?php
	/**
	 * Theme and add-on devs should add code to this loop by 
	 * hooking into it_exchange_get_template_part_elements filter
	 * and adding the appropriate template file to their theme or add-on
	 */
	it_exchange_get_template_part( 'content-registration/elements/' . $field );
	?>
<?php endforeach; ?>
<?php do_action( 'it_exchange_super_widget_registration_end_fields_loop' ); ?>
<?php do_action( 'it_exchange_super_widget_registration_after_fields_loop' ); ?>

← Back to Exchange Theme Templates Page

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox