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

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner 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/)

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

 * [Detaljer](https://sv.wordpress.org/plugins/mindvalley-post-get-variable/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/mindvalley-post-get-variable/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/mindvalley-post-get-variable/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/mindvalley-post-get-variable/#developers)

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

## Beskrivning

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

## Installation

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

## Vanliga frågor

  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.

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Mindvalley Post & Get Variables” är programvara med öppen källkod. Följande personer
har bidragit till detta tillägg.

Bidragande personer

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

[Översätt ”Mindvalley Post & Get Variables” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/mindvalley-post-get-variable)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/mindvalley-post-get-variable/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/mindvalley-post-get-variable/)
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/mindvalley-post-get-variable/)
via [RSS](https://plugins.trac.wordpress.org/log/mindvalley-post-get-variable/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 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

## Meta

 *  Version **1.0.6**
 *  Senast uppdaterat **15 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 3.0.0 eller senare **
 *  Testat upp till **3.1.4**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/mindvalley-post-get-variable/)
 * Etiketter
 * [GET](https://sv.wordpress.org/plugins/tags/get/)[post](https://sv.wordpress.org/plugins/tags/post/)
   [variables](https://sv.wordpress.org/plugins/tags/variables/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/mindvalley-post-get-variable/advanced/)

## Betyg

 5 av 5 stjärnor.

 *  [  1 5-stjärnig recension     ](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/?filter=2)
 *  [  0 1-stjärniga recensioner     ](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)

[Visa alla recensioner](https://wordpress.org/support/plugin/mindvalley-post-get-variable/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

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

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](http://www.mindvalley.com/opensource)