Topic: Recursive Functions

Blurbette Plugin: Shortcode

The next class in our blueprint is the shortcode — the workhorse of the blurbette.

I’ll be sure to relegate all blurbette output to this shortcode, so proper control can be maintained and code isn’t duplicated elsewhere. In other words, if some other code wants to output a blurbette directly, it can call do_shortcode( '[blurbette id="1234"]' );.

First, I’ll design the shortcode. ... 

Read article