$_GET Getter Plugin for WordPress
Here is a new plugin for getting a query string variable into a wordpress post or page.
Where ever you want your “get” variable to appear just type .
So if your url is http://www.yoursite.com/apageorpost?thevariable=success, get the “success” by typing [get thevariable] where you want it in your content.
Simple as that!
You can pick the plugin up right Here
























Tim said
am August 4 2009 @ 9:06 pm
Will you be publishing this on wordpress.org?
Andy said
am August 5 2009 @ 8:53 am
Yes, I will be doing so soon. Keep your eye open for it.
Kris Sebesta said
am August 31 2009 @ 1:30 am
I found this really handy. Please help out the WP community by publishing this as soon as you can! Thank you!
Tim said
am September 5 2009 @ 10:23 am
You can find the $_GET getter here:
http://wordpress.org/extend/plugins/get-getter/
Daniel said
am November 27 2009 @ 10:01 pm
I can’t get it to work with more than one get variable. It will replace the first one it encounters in all instances, but it won’t find any others. Any ideas?
Daniel said
am November 28 2009 @ 1:26 am
I fixed the plugin. It should work a lot better now and accommodates any number of [get vars]s sprinkled throughout. I used a regular expression and some array tools to find them all in one shot and then go through and replace them one by one. Here’s the new code:
Daniel said
am November 28 2009 @ 1:27 am
ah, bummer. e-mail me and I’ll send it along. Thanks again for the base plugin.
admin said
am February 19 2011 @ 8:51 pm
We don’t have a way to do that out of the box. Our goal here was to allow support for GET strings.
We’ve done projects doing stuff like what you are talking about, but it basically amounts to hooking wordpress prior to it parsing the URL and handling it as you like.