Displays a button to link to a URL, passing the user’s ID as a parameter.

If you want to display buttons on your profile page that go to a URL, passing the user’s ID as part of the querystring, then this is the shortcode to use.


Provided in the Core Plugin.


You can use the global shortcode settings via WPS Pro->Shortcodes in the admin dashboard, or add them to the shortcode as options.



For example, let’s say you want to have a button that linked to a page on your site that displayed that user’s photo galleries (using the Gallery extension from the WP Symposium Pro Extensions plugin).

On a website call www.example.com, the URL your would want is:


where 3 is replaced by the user’s ID. So the shortcode would be:

[wps-usermeta-button url="/gallery" value="Gallery"]

You can use relative or absolute URLs.


The following (which shows default values and an example of using the shortcode option) can be set via the admin dashboard (WPS Pro->Shortcodes) or added as options to the shortcode in your WordPress page, post or widget.

URL for button (url=””)
Label for button (value=”Go”)
Optional CSS class for button (class=””)