WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Nathan Singh v1.1

GET Params

Shortcodes allowing you to display GET parameters from the current URL in pages and posts, or show/hide content depending on GET param values

GET Params

The facts

Rating
5★ from 15
Active installs
1k+
Price
Free
Last updated
18 Jul 2019
Added
Jan 2014
Requires WP
4.0
Tested up to
WP 5.2.26
Downloads
12,724

Our analysis

AI-assisted

GET Params is a WordPress plugin that allows you to use shortcodes to display GET parameters from the current URL in your pages and posts. It also enables you to show or hide content based on the values of these GET parameters. This can be useful for personalising content for users based on specific URL inputs.

The plugin provides various shortcodes to display GET parameter values directly or control the visibility of content depending on the parameters passed. It is suitable for users who want to create dynamic content based on URL parameters, such as providing tailored instructions or information.

Best for: This plugin is best for WordPress users looking to create dynamic content based on URL parameters.

What it does well

  • Allows display of GET parameters in posts and pages
  • Enables conditional content display based on GET parameter values
  • Includes options for default values and inverted criteria

Where it falls short

  • Limited information on compatibility beyond WordPress 5.2.26
  • Last updated in July 2019

Verdict

GET Params offers a straightforward way to manage GET parameters for content display. However, its last update was in 2019, which may raise concerns about ongoing support.

From the developer

Nathan Singh's own description of GET Params, lightly tidied.

GET params is a plugin providing your pages and posts with shortcodes allowing you to display GET parameters from
the current URL in pages and posts, or show/hide content depending on GET param values.

As an example, I use this plugin so that I can show personalized installation instructions to users of another piece of
software I wrote, simply by directing them to a URL on my WordPress site, along with GET variables chosen to
ensure that custom fields and sections display exactly as required for them to install my software.

See FAQ if you are having problems under WordPress 4.2.3

Examples follow, assuming the user goes to your post page http://example.com/post/3/?paramname=showme

Displaying GET parameters directly

 [display-get-param name="paramname"]

Shows the value of GET named paramname (‘showme’ in the example URL), or “blank value” if none given.

 [display-get-param name="paramname" default="Paramname was blank"]

Shows the value of GET named paramname, or “Paramname was blank” if none

Controlling display of enclosed content depending on GET parameter values

 [display-if-get name="myparam"]

This enclosed content only shows if myparam is passed as a GET param (with any value)

 [/display-if-get]

Another example specifying a value to match:

 [display-if-get name="myparam" value="true"]

This content only shows if myparam is passed as a GET param and equals "true"

 [/display-if-get]

Inverting the criteria

The plugin also contains an opposite to display-if-get, called display-if-not-get.

display-if-not-get content will display only in all cases where display-if-get with the same parameters would NOT show.

Read the full description on the official page →

Tagged as