Title: Mindvalley Post &amp; Get Variables
Author: Mindvalley
Published: <strong>27. mai 2011</strong>
Last modified: 28. desember 2011

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

![](https://s.w.org/plugins/geopattern-icon/mindvalley-post-get-variable.svg)

# Mindvalley Post & Get Variables

 Av [Mindvalley](https://profiles.wordpress.org/mindvalley/)

[Last ned](https://downloads.wordpress.org/plugin/mindvalley-post-get-variable.1.0.6.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/mindvalley-post-get-variable/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/mindvalley-post-get-variable/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/mindvalley-post-get-variable/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/mindvalley-post-get-variable/#developers)

 [Hjelp](https://wordpress.org/support/plugin/mindvalley-post-get-variable/)

## Skildring

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 («).

## Installasjon

 1. Upload plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the «Plugins» menu in WordPress
 3. Enjoy!

## Vanlege spm.

  Why I can’t get some of the URL variables?

WordPress has a set of reserved GET variables that is used for page querying. For
example, «name» or «page_id» or «id» can’t be used without having some unexpected
results.

  Array variables are not showing up.

Verify that you wrap your the variable settings within a double quote («), or else
it won’t work.

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“Mindvalley Post & Get Variables” is open source software. The following people 
have contributed to this plugin.

Contributors

 *   [ Mindvalley ](https://profiles.wordpress.org/mindvalley/)

[Omset “Mindvalley Post & Get Variables” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/mindvalley-post-get-variable)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/mindvalley-post-get-variable/),
sjekk [SVN-lageret](https://plugins.svn.wordpress.org/mindvalley-post-get-variable/)
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/mindvalley-post-get-variable/)
med [RSS](https://plugins.trac.wordpress.org/log/mindvalley-post-get-variable/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

Initial Release.

#### 1.0.2

Add support for array $_POST / $_GET variables

#### 1.0.3

Additional checks to avoid unnecessary PHP warnings if the key provided appears 
to be an array.

#### 1.0.4

Bug fix.

#### 1.0.6

Support PHP auto replacements POST / GET variables with underscores

## Om

 *  Version **1.0.6**
 *  Last updated **14 år sidan**
 *  Active installations **20+**
 *  WordPress version ** 3.0.0 eller nyare **
 *  Tested up to **3.1.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/mindvalley-post-get-variable/)
 * Tags
 * [GET](https://nn.wordpress.org/plugins/tags/get/)[post](https://nn.wordpress.org/plugins/tags/post/)
   [variables](https://nn.wordpress.org/plugins/tags/variables/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/mindvalley-post-get-variable/advanced/)

## Vurderingar

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/)

## Contributors

 *   [ Mindvalley ](https://profiles.wordpress.org/mindvalley/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/mindvalley-post-get-variable/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.mindvalley.com/opensource)