1. Home
  2. Docs
  3. SMS Verification
  4. Shortcodes

Shortcodes

Shortcodes

The settings are for the registration and comment section. But if you do not want to force everyone to verify themselves via SMS, you can hide sensitive contents from the unverified users through shortcodes. You just need to place the opening and closing shortcodes to mark the content for verified users only. The shortcode starts with `[wedevssms]` then you place your content for verified users and then close it with `[/wedevssms]`.

shortcode to hide content from non verified users
Shortcode to hide content from non verified users
post preview with protected content
Post preview with protected content

If you want to change the text “Click to see the restricted text” then you can use the `title` attribute with the shortcode.

Custom text for hidden content
Custom text for hidden content

Was this article helpful to you?

How can we help?