Exchange Product Types: Memberships

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
 
*'''after''' - In the "after" argument, you can add HTML that you'd like to have show after each content item listed.  '''Note''':  "After" argument must be added when using the Text view in the Extended Description.
 
*'''after''' - In the "after" argument, you can add HTML that you'd like to have show after each content item listed.  '''Note''':  "After" argument must be added when using the Text view in the Extended Description.
 
*'''title''' - The "title" argument allows you to display a title before the list of content.
 
*'''title''' - The "title" argument allows you to display a title before the list of content.
*'''toggle''' - This option allows you to make grouped content (ex:  items within a specified category) to be toggled instead of all items listed.
+
*'''toggle''' - This option allows you to make grouped content (ex:  items within a specified category) to be toggled instead of all items listed.  This option is "on" by default.
 
*'''posts_per_grouping''' - This allows you to limit the number of items shown for each taxonomy included in a membership.
 
*'''posts_per_grouping''' - This allows you to limit the number of items shown for each taxonomy included in a membership.
 +
*'''show_drip''' - This shows drip content available in the membership listed.  This option is "on" by default.
 +
*'''show_drip_time''' - This option shows when the drip content will become available.  This option is "on" by default.
  
 
<br />
 
<br />
Line 45: Line 47:
  
 
[[File:ShortcodeTitle.png|ShortcodeTitle.png|link=]]
 
[[File:ShortcodeTitle.png|ShortcodeTitle.png|link=]]
 +
 +
<br />
 +
 +
====="'''toggle'''" Shortcode Argument:=====
 +
 +
<code>[it-exchange-membership-included-content toggle='on']</code>
 +
 +
<br />
 +
 +
[[File:ToggleOn.png|ToggleOn.png|link=]]
 +
 +
<br />
 +
 +
<code>[it-exchange-membership-included-content toggle='off']</code>
 +
 +
<br />
 +
 +
[[File:ToggleOff.png|ToggleOff.png|link=]]
  
 
<br />
 
<br />
Line 55: Line 75:
  
 
[[File:PostGrouping.png|PostGrouping.png|link=]]
 
[[File:PostGrouping.png|PostGrouping.png|link=]]
 +
 +
<br />
 +
 +
====="'''show_drip'''" Shortcode Argument:=====
 +
 +
<code>[it-exchange-membership-included-content show_drip='on']</code>
 +
 +
<br />
 +
 +
[[File:ShowDripContent.png|ShowDripContent.png|link=]]
 +
 +
<br />
 +
 +
<code>[it-exchange-membership-included-content show_drip='off']</code>
 +
 +
<br />
 +
 +
[[File:ShowDripContentOff.png|ShowDripContentOff.png|link=]]
 +
 +
<br />
 +
 +
====="'''show_drip_time'''" Shortcode Argument:=====
 +
 +
<code>[it-exchange-membership-included-content show_drip_time='on']</code>
 +
 +
<br />
 +
 +
[[File:ShowDripContent.png|ShowDripContent.png|link=]]
 +
 +
<br />
 +
 +
<code>[it-exchange-membership-included-content show_drip_time='off']</code>
 +
 +
<br />
 +
 +
[[File:ShowDripTimeOff.png|ShowDripTimeOff.png|link=]]
  
 
<br />
 
<br />

Revision as of 09:39, October 9, 2013

Contents

Restrictions

Shortcodes

Adding the shortcode [it-exchange-membership-included-content] to the extended description of a product allows you to list the content included with a membership. There are different arguments that you can add to your shortcode.

  • product_id - This is the current product id. Note: We do not recommend changing this.
  • before - In the "before" argument, you can add HTML that you'd like to have show before each content item listed. Note: "Before" argument must be added when using the Text view in the Extended Description.
  • after - In the "after" argument, you can add HTML that you'd like to have show after each content item listed. Note: "After" argument must be added when using the Text view in the Extended Description.
  • title - The "title" argument allows you to display a title before the list of content.
  • toggle - This option allows you to make grouped content (ex: items within a specified category) to be toggled instead of all items listed. This option is "on" by default.
  • posts_per_grouping - This allows you to limit the number of items shown for each taxonomy included in a membership.
  • show_drip - This shows drip content available in the membership listed. This option is "on" by default.
  • show_drip_time - This option shows when the drip content will become available. This option is "on" by default.


Shortcode Examples


"before" Shortcode Argument:

[it-exchange-membership-included-content before='<h4>"Before" Code</h4>']


BeforeCode.png


"after" Shortcode Argument:

[it-exchange-membership-included-content after='<h4>"After" Code</h4>']


AfterCode.png


"title" Shortcode Argument:

[it-exchange-membership-included-content title='Membership Content']


ShortcodeTitle.png


"toggle" Shortcode Argument:

[it-exchange-membership-included-content toggle='on']


ToggleOn.png


[it-exchange-membership-included-content toggle='off']


ToggleOff.png


"posts_per_grouping" Shortcode Argument:

[it-exchange-membership-included-content posts_per_grouping=2]


PostGrouping.png


"show_drip" Shortcode Argument:

[it-exchange-membership-included-content show_drip='on']


ShowDripContent.png


[it-exchange-membership-included-content show_drip='off']


ShowDripContentOff.png


"show_drip_time" Shortcode Argument:

[it-exchange-membership-included-content show_drip_time='on']


ShowDripContent.png


[it-exchange-membership-included-content show_drip_time='off']


ShowDripTimeOff.png


Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox