| 1 |
# Free helper shortcodes |
| 2 |
|
| 3 |
Besides the ability to create [your own shortcodes]({{ site.baseurl }}/shortcodes-own.html), Snippet Shortcode has a collection of out the box helper shortcodes. Shortcodes functionality are implemented using [](https://codex.wordpress.org/Shortcode_APIWordPress shortcodes](https://codex.wordpress.org/Shortcode_API](https://codex.wordpress.org/Shortcode_API). |
| 4 |
|
| 5 |
For additional shortcodes, check out the [Premium helper shortcodes]({{ site.baseurl }}/shortcodes-premium.html). |
| 6 |
|
| 7 |
|--|--| |
| 8 |
|[sv slug="sc-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 upon PHP date: http://php.net/manual/en/function.date.php| |
| 9 |
|[sv slug="sc-user-ip"] |Display the current user's IP address.| |
| 10 |
|[sv slug="sc-user-agent"]| Display the current user's User Agent| |
| 11 |
|[sv slug="sc-site-url"] |The Site address (URL) (set in Settings > General)| |
| 12 |
|[sv slug="sc-site-title"]| Displays the site title.| |
| 13 |
|[sv slug="sc-admin-email"]| Admin email (set in Settings > General)| |
| 14 |
|[sv slug="sc-page-title"] |Displays the page title.| |
| 15 |
|[sv slug="sc-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".| |
| 16 |
|[sv slug="sc-privacy-url"]| Displays the privacy page URL.| |
| 17 |
|[sv slug="sc-username"] |Display the logged in username.| |
| 18 |
|[sv slug="sc-user-id"] |Display the current user's ID.| |
| 19 |
|[sv slug="sc-user-email"] |Display the current user's email address.| |
| 20 |
|[sv slug="sc-first-name"] |Display the current user's username.| |
| 21 |
|[sv slug="sc-last-name"] |Display the current user's last name.| |
| 22 |
|[sv slug="sc-display-name"]| Display the current user's display name.| |