This is where I’d want to show you the “big picture” of how WordPress works, how pages get loaded and when shortcodes get invoked.
Some plugins do a bit more than they should. The new Bobbing Wide / oik API supports
- lazy shortcodes,
- smart shortcodes,
- trace,
- plugin dependencies
Lazy shortcodes
Implement “callbacks” and deferred loading of functionality.
They give WordPress a business card saying.
When you need me, here’s how to get in touch.
Additionally,
- They don’t waste their time doing things that other plugins and APIs can do for them.
- They don’t do things until necessary
Smart shortcodes
Understand the context in which they’re being executed and adjust their behaviour accordingly.
e.g.
- You want to be able to control when a shortcode will get expanded
- You don’t want HTML to appear in tooltips
- You don’t want shortcodes expanded on admin pages
Trace
Problem determination in the background. Debug information is not written to the screen. Easily turn on and offable.
Plugin dependencies
Plugins shouldn’t just crash. They can become active when the dependencies are satisfied.
[oik]-plugin = OIK Information Kit
bbboing
[bbboing text="Happy Birthday WordUp Brighton March 2012 Love from Herb Miller"]
[bw_tides] – UK tide times and heights
[[bw_tides]] is used to show tide heights and times in the UK
Nivo-slider
Introducing the oik nivo slider... none of the other Nivo sliders did what I wanted.
table of active plugins
In addition to showing information about the plugins you choose [bw_plug] shortcode will display the table of active plugins.