Shortcodes
Shortcodes
MasterPress version 1.2.1 introduces shortcode functionality, enabling you to populate content into your posts dynamically – introducing the power of MasterPress to your content. The shortcodes use the standard object accessor syntax and work in the same way that a normal MasterPress object would.
The above example would be akin to doing $wf->the->featured_image->resize(“w=100”) in your code.
The above example would be akin to doing $wf->site->contacts->i(1)->phone in your code.
Limitations
Currently there is no way to display every item in a set – to access an individual item in a set, you will need to use the WOOF_Collection::i method.