New property_widget shortcode
Jomres 10.6 introduced a new shortcode called Property Widget. This is available in Core, you don't need install a plugin to use it.
This is a simple script that will output a property using the get_property_module_data function (see the Developer's guide section about this function)
Setting a property uid will ensure that one specific property will always be shown
[jomres property_widget &property_uid=1]
Whereas setting it to zero will cause a random property to be shown
[jomres property_widget &property_uid=0]
This shortcode is useful if you want to ensure that a module/widget position is always populated.
- Created on .