[PLUGIN] Shortcode API
Posted: Wed Nov 25, 2015 7:55 pm
Shortcode API plugin for Bludit
What shortcodes?
The Shortcode API is a simple set of functions for creating Bludit shortcodes for use in posts and pages. For instance, the following shortcode (in the body of a post or page) would add a photo gallery of images attached to that post or page:
The API enables plugin developers to create special kinds of content (e.g. forms, content generators) that users can attach to certain pages by adding the corresponding shortcode into the page text.
The Shortcode API makes it easy to create shortcodes that support attributes like this:
The plugin is delivered with 8 shortcodes ready to use! and is editable in config plugin!
Examples:
Cut post use simply this shortcode:
Dynamic site URL:
Social share:
Gitter chat:
Disqus comment system:
More video parse:
Thank to Sergey Romanenko Force (Free components for kickass Web Applications) and Diego for his help and for this great cms.
Download
What shortcodes?
The Shortcode API is a simple set of functions for creating Bludit shortcodes for use in posts and pages. For instance, the following shortcode (in the body of a post or page) would add a photo gallery of images attached to that post or page:
Code: Select all
{gallery}
The Shortcode API makes it easy to create shortcodes that support attributes like this:
Code: Select all
{gallery id='123' size='medium'}
Examples:
Cut post use simply this shortcode:
Code: Select all
{cut}
Code: Select all
{site_url}
Code: Select all
{Share class='uk-list-line' facebook='bludit' twitter='bludit' github='bludit'}
Code: Select all
{Gitter room='dignajar/bludit'}
Code: Select all
{Disqus name='bludit'}
Code: Select all
{Youtube src='YQHsXMglC9A'}
{Dailymotion width='400' height='250' src='cexar241'}
{Vimeo width='400' height='250' src='144239829'}
Download
- 2016/08/12 - Version 1.5: Fallback Bludit 1.4 compatibilty & ready for 1.5Beta shortcode.zip
- 2015/11/25 - Version 0.3: shortcode.zip