Mindvalley Post & Get Variables

Lets you output a POST or GET variable in the page via shortcode.

Author:Mindvalley (profile at wordpress.org)
WordPress version required:3.0.0
WordPress version tested:3.1.4
Plugin version:1.0.6
Added to WordPress repository:27-05-2011
Last updated:28-12-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:
Total downloads:1 910
Active installs:30+
plugin download
Click to start download

Outputs $_POST or $_GET variable values using shortcodes.

Super duper uberly useful on tracking scripts on eCommerce thank you pages.

Example:

  • $_POST['email'] > [post_var name="email"]
  • $_GET['txn_id'] > [get_var name="txn_id"]

For Array values :

  • $_POST['user']['email'] > [post_var] name="user[email]" [/post_var]
  • $_GET['user']['first_name'] > [get_var] name="user[first_name]" [/get_var]
  • $_GET['user']['address']['line1'] > [get_var] name="user[address][line1]" [/get_var]

Note: Remember to wrap the name attribute in double quotes (").


FAQ
ChangeLog