Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
URL Params icon

URL Params

v2.5
by Jeremy B. Shapiro · 5.0 (37 reviews)

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

9K+ active installs Updated Dec 18, 2024 Tested to 6.7.2
Try Demo Download
Pre-installed Ready in ~10s No card

About URL Params

The URL Params WordPress Plugin allows you to access URL parameters in the Query String of the URL. You can specify default values and use the plugin to personalize landing pages and pre-fill form fields based on the query string. The plugin also has security measures in place to prevent any malicious code from being executed on your site.

Changelog

  • 2.5: Released 4/20/2023 Security update to sanitize keys, attributes, and output tags. Added options page for custom tags and attributes. Special thanks to the Security Research team @ Automattic for the responsible disclosure and testing!
  • 2.4: Released 3/1/2023. Security update to patch against setting javascript event attributes (like onclick, onmouseover, etc)
  • 2.3: Released 1/21/2022. Bumped Tested Version to WordPress 5.8.3
  • 2.2: Released 6/27/2019. Bumped Tested Version to WordPress 5.2.2
  • 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 parameters, i.e. param=”FirstName, First, name”

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…