PluginProbe
Snippet Shortcodes / 4.2.2
Snippet Shortcodes v4.2.2
5.2.1 5.2 5.1.8 5.1.6 5.1.7 5.1.5 trunk 1.0 1.1 1.2 1.3 1.3.1 1.4 1.5 1.5.1 1.6 1.6.1 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.8 2.0 2.0.1 All 74 releases
shortcode-variables / docs / shortcodes-free.md

shortcodes-free.md in Snippet Shortcodes 4.2.2, at docs/shortcodes-free.md

22 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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.|