Currently there are 5 active shortcodes in the library: (See Changelog for updates!)
[CF_STREAM/]
Let's you embed CloudFlare Stream videos easily into WordPress posts and pages, with just the video ID. e.g:
[CF_STREAM id="mycloudflarevideoid" preload controls /]
[SITENAME/]
This will create a piece of HTML is your WordPress site title wrapped in a SPAN with ID "siteBrandName"
You can also change the ID by using ID="yourOwnID"
[NOSC] ... [/NOSC]
Short for "No Shortcode". Any shortcodes present within this shortcode are ignored. Useful for writing about shortcodes without
them being interpreted.
[HTMLDIV] ... [/HTMLDIV]
You can add a DIV element with parameters:
class=""
id=""
style=""
This plugin should install as any other
Wordpress.org respository plugin.
- Browse to Plugins -> Add Plugin
- Search: Wordpress Shortcode Library
- Click Install
- Click to Activate.
Alternatively using FTP:
- Download the zip file using the download link to the right.
- Extract the contents of the file and locate the folder called 'wordpress-shortcode-library' containing the plugin files.
- Upload this whole folder to your '/wp-content/plugins/' directory
- From the plugins page within Wordpress locate the plugin 'Wordpress Shortcode Library' and click Activate
The new Shortcodes will now be available to you.
Select the CSS file as desired.
2.0
This is a complete reboot of the plugin. At the time, there were less than 10 sites running this
plugin as it hadn't been updated in several years.
ADDED: Shortcode CF_STREAM for easily embedding CloudFlare stream videos.
1.7
- Clean up and update compatible version to WordPress 4.3.0
1.6
1.5
- Added a new shortcode: [SITENAME]. This will output your WordPress site name in a SPAN with default ID "brandedSiteName".
You change the ID and also add "class" and "style" as you wish. This shortcode is useful so that if you decide to
alter the name of your site later, and you've used this shortcode throughout, it will automatically update across
your site! You can apply a consistent style for your site name text throughout the site by referencing the ID.
I started using it here: Kick Start Valencia
1.4
Skipped.
1.3
- Restructured the code to be slightly cleaner so as to more easily as new shortcodes later
1.2
- Added Shortcode: [NOSC] ... [/NOSC] Any shortcodes present within this shortcode are ignored.
1.1
- Added Shortcode: [TWEET] (this creates a Twitter share button for the given page wherever you write it).
Parameters include:
count="none/horizontal/vertical" (optional- default is 'none')
via="your Twitter Handle" (optional)
related="another related Twitter handle" (optional)
1.0