If you’re wondering what an “oik generated example” is, then here’s the place to find out. oik’s lazy smart shortcodes include the capability to
- Provide a brief description for each shortcode
- Explain the syntax of the shortcode.
- Provide an example of the shortcode in action
- Provide the output of the shortcode in HTML snippets.
- Provide a link to further help.
In some cases the example is hardcoded; there is some PHP code that sets pre-defined parameters in order to produce a desired result.
In other cases, oik simply invokes the shortcode, without any parameters…. and hopes for the best.
In these instances it prefixes the “live” example with “oik generated example”.
Using the [bw_code] shortcode you can actually get both the hardcoded example and a live example.
Help for shortcode: [bw_button]
Show a link as a button
To create a button suggesting that the user tries the bbboing plugin
[bw_button link="https://www.oik-plugins.com/oik-plugins/bbboing/" text="Give the bbboing plugin a test drive"]
oik generated example
Help for shortcode: [bw_logo]
Display the company logo
oik generated example.