Introduce and explain source code, prototypes, pseudocodes, fragments, snippets. Easily demonstrate, presentate and explain algorithms and their ideas
Use WP shortcodes for that:
[fragment name="unique fragment name" /]. In normal cases, this should be placed within a parent fragment:
[fragment name="implemented parent fragment name"] ... [fragment name="define new fragment" /] ... [/fragment]
Just the the shortcode
[fragment name="define new fragment"] //add implementation here [/fragment]
You can add implementations step by step by repeatedly using this fragment with the same name. The plugin does the rest.
Yes. Just type
[fragment name="your_fragment_name"/] into your WordPress editor.
Well, yes and no. Officially, nested shortcodes having the same name is not recommended/supported according to WordPress.org. But you use
fragment instead of
fragment_def - it worked on my system.
Requires: 2.8 or higher
Compatible up to: 3.5.2
Last Updated: 3 years ago
Active Installs: 10+
Got something to say? Need help?