Execution of Shortcodes within WP-Member Shortcodes
-
Am currently using the latest version of WP Members.
Should the [wpmem_logged_in] shortcode work when shortcodes are contained within.
i.e.
[wpmem_logged_in]
[gravityform id=”1″ title=”true” description=”true” ]
[/wpmem_logged_in]I’m having to cheat and use another plugin at the moment. (Ideally I’d like to stick to just WP Members but am using Restrict Content by Pippa Williamson
One problem I’m trying to avoid is I have a section that displays a users avatar and some login details. When a user isn’t logged in, the section is still drawn, but empty and leaves a blank gap.
I did search through the forum for a similar issue and couldn’t find any reference to it. I am a new user to WP Members so it might have been a recent update that has broken something or it’s not supported as of yet.As well as supporting non-WP Member shortcodes (like my gravityform example), I would also like to include WP Member shortcodes such as:
[wpmem_logged_in]
[wpmem_avatar]
[/wpmem_logged_in][wpmem_logged_out]
[wpmem_form login] <— wouldn’t actually use that here but just an example
[/wpmem_logged_out]The only confusing thing is that the following does work:
[wpmem_logged_in][wpmem_form user_edit][/wpmem_logged_in]
- The topic ‘Execution of Shortcodes within WP-Member Shortcodes’ is closed to new replies.