Multiple, nested shortcodes
-
Hi,
I was wondering if it’s possible to combine shortcodes?
I’m trying to make it so visitors with certain roles (eg roles A, B and C) who access a public page would see one image but other visitors (who are not logged in -OR- logged in as a role other than A, B or C) would see a different image.
I’ve tried the [members_access role=”A,B,C”] shortcode for the first and nesting [members_not_logged_in] and [members_access role=”A,B,C” operator=”!”] shortcodes for the second. It works for not logged-in visitors but, for a logged in visitor with a role other than A, B or C, no content is shown.
Any help would be greatly appreciated.
Thanks and best regards.
- The topic ‘Multiple, nested shortcodes’ is closed to new replies.