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