Call the content placeholder via Shortcode or PHP Function
Once you create a content placeholder you can see these under CSSJockey >> Placeholders >> Manage Placeholders. On this screen you will find the Shortcode to call a specific placeholder on any page, post or sidebar widget and PHP function to use in template files.
- id : This is the id of the placeholder which will be used to call the variable content based on its settings.
- random: Default setting for random content is set to no, if you change it to yes, only 1 variable content will be displayed randomly based on the user role. If there is only variable specified to a certain user role, only available content will be displayed. However, if multiple variables are assigned to same user role, one variable content will be randomly displayed.