Core

Below is a collection of ready-made shortcodes that come with the core plugin. Additional shortcodes are included with the Premium plugin.

Shortcode
Description

[sv slug="todays-date"]

Displays today's date. Default is UK format (DD/MM/YYYY). Format can be changed by adding the parameter format="m/d/Y" onto the shortcode. Format syntax is based on PHP date.

[sv slug="user-ip"]

Display the current user's IP address.

[sv slug="user-agent"]

Display the current user's User Agent

[sv slug="site-url"]

The Site address (URL) (set in Settings > General)

[sv slug="site-title"]

Displays the site title.

[sv slug="admin-email"]

Admin email (set in Settings > General)

[sv slug="page-title"]

Displays the page title.

[sv slug="login-page"]

Wordpress login page. Add the parameter "redirect" to specify where the user is taken after a successful login e.g. redirect="http://www.google.co.uk".

[sv slug="privacy-url"]

Displays the privacy page URL.

[sv slug="username"]

Display the logged in username.

[sv slug="user-id"]

Display the current user's ID.

[sv slug="user-email"]

Display the current user's email address.

[sv slug="first-name"]

Display the current user's username.

[sv slug="last-name"]

Display the current user's last name.

[sv slug="display-name"]

For additional ready-made shortcodes, explore our Premium collection for even more powerful and flexible options.

Last updated