Shortcode Sandbox
Mike Arney | unsplashLet's try a built-in core shortcode. The following shortcode will add an underline to some text. The third word is underlined. OK, now we are going to try a modified shortcode that I put together.
This one will turn the selected text bold and red. The trigger will be... (can't show you). Your chain…
Copyright date (year) in footer
A common design device for most websites is to include a copyright notice at the bottom of the web page in the footer area. The jury is out as to whether this copyright date has any legal purpose, but clients' seem to love it. However, a copyright line that is out of date can be a bad reflection o…
Shortcode UI Plugin -- Tabs
Peppe Ragusa | unsplashShortcodes seem like they have tremendous potential to incorporate "chunks" of html, css, javaScript into a page. An example of this would be the ui-tabs
shortcode demonstrated below.
The tabs shortcode is included in the shortcode-ui
plugin. This plugin, in turn, is dependent upon shortcode-core
plugin.
It is my intention to study the coding that is shipped with these plugins in order to reverse engineer an understanding of how a shortcode can be built. My first attempt will be to convert the figure
hack that I have already put together.