Shortcode negation
-
Hi!
As described on page:
https://lifterlms.com/docs/shortcodes/#lifterlms_hide_content
I can hide text from not members:[lifterlms_hide_content id="1"] This will only display to a user with access to the post with an ID of 1. [/lifterlms_hide_content]
How about hiding text for member, like negation:
[lifterlms_hide_content not id="1"] This will ONLY display to a user WITHOUT access to the post with an ID of 1. [/lifterlms_hide_content]
So I can have different text only members and all other users.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Shortcode negation’ is closed to new replies.