WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

URL Params

Short Code to grab any URL parameter from the Query String and display it or display conditional content.

  • 2.1: Released 8/19/2015. Patched to make backwards compatible with PHP <5.3 where anonymous functions aren't yet supported.
  • 2.0: Released 8/12/2015. Allow for the htmltag attribute to be passed which will return a full HTML tag with optional content inside of the tag, too.
  • 1.8: Released 8/5/2015. Allowed for the attr attribute to be passed. This helps fix the backwards incompatible shortcode processing bugs introduced by WordPress 4.2.3
  • 1.7: Released 7/2/2014. Changed escaping via htmlspecialchars() to esc_html() and removed option to allow not escaping HTML
  • 1.6: Released 7/1/2014. Security update to patch against Reflected Cross Site Scripting.
  • 1.5: Nudge. WordPress didn't pick up this latest trunk version on commit. Will remove this comment in the future.
  • 1.5: Released 12/13/2013. Added support for conditional content via ifurlparam shortcode
  • 0.4: Released 7/11/2011. Added support for date formatting via the dateformat option
  • 0.3: Released 6/25/2011. Added support for alternative paramters, i.e. param="FirstName, First, name"

Requires: 2.0.2 or higher
Compatible up to: 4.7.1
Last Updated: 1 month ago
Active Installs: 6,000+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
50,2,1
100,1,1 100,1,1
100,1,1
100,1,1
0,1,0
100,1,1 100,1,1
100,1,1
100,1,1