Content upgrade shortcode

The [content-upgrade] shortcode is used to display upgrades on a post or page. Here’s a list of all the available options:

  • id – ID number of the content upgrade to display. (Required)
  • image – How to align the image ( ‘alignleft’, ‘aligncenter’, ‘alignright’, or ‘alignnone’ ). Defaults to your global setting.
  • image_size – Size of the image. Accepts any valid image size, including: ‘post-thumbnail’, ‘thumbnail’, ‘medium’, ‘large’, ‘full’. Defaults to your global setting.
  • type – Type of upgrade. Accepts ’embedded’ or ‘popup’. Defaults to your global setting.
  • progress – Whether or not to show the process bar. Options are: ‘disabled’, ‘enabled’, ‘striped’. Defaults to your global setting.
  • first_name – Whether or not to include the first name field. Options are ‘yes’, ‘required’, ‘no’. Defaults to your global setting.
  • last_name – Whether or not to include the last name field. Options are ‘yes’, ‘required’, ‘no’. Defaults to your global setting.
  • button_size – Options are ‘regular’ and ‘large’. Defaults to your global setting.
  • button_text – Text to use for the button (like “Get the Freebie!”). Defaults to your global setting.
  • trigger_button_text – Popup only. Text to use for the trigger button or link. This is the text that opens up the popup when clicked. Defaults to the same as the button_text setting previous.
  • trigger_type – Popup only. What type of trigger to use. Options are ‘button’ (default), ‘link’, or ‘image’.
  • trigger_image – Popup only. Image trigger type only. Enter the URL of an image to use as the trigger.
  • headline – Overrides the “Headline” setting for this instance of the content upgrade.
  • description – Overrides the “Description” setting for this instance of the content upgrade.
  • below_form_text – Overrides the “Below Form Text” setting for this instance of the content upgrade.

Examples

[content-upgrade id="123" type="popup" trigger_type="image" trigger_image="http://bossplugins.com/free-upgrade.png"]

[content-upgrade id="123" button_text="Get the Download!"]

[content-upgrade id="123" progress="striped" first_name="required"]

How can we help?