Admin
Admin shortcodes control where content appears. Use them to show content only in the CMS backend or only on the live site.
Admin Only
This shortcode specifies that the content inside of the [admin_only] [/admin_only] code should be shown on the backend. Developers may use this shortcode in conjunction with [non_admin_only] [/non_admin_only] shortcode to partition frontend and backend content and prevent them from interfering with one another.
Shortcode:
[admin_only]
Code Example:
[admin_only]
Hello Backend!
[/admin_only]
Note:
This shortcode has no attributes.
Non Admin
This shortcode specifies that the content inside of the [non_admin_only] [/non_admin_only] should be shown on the frontend. Developers may use this shortcode in conjunction with [admin_only] [/admin_only] shortcode to partition front end and backend content and prevent them from interfering with one another.
Shortcode:
[non_admin_only]
Code Example:
[non_admin_only]
Hello Frontend!
[/non_admin_only]
Note:
This shortcode has no attributes.