In this article: About showing different content to logged-in users | Usage examples | How to set up a logged-in condition using If-so
About content customization to logged-in users
The logged-in condition lets you add or replace content on your based to logged-in visitors.
How can your site benefit from the logged-in condition? Examples:
- Encourage site registration with special promotions to registered (logged-in) visitors
- Promote upsells and cross-sales to logged in visitors
Which content can be customized using the logged-in condition?
Same as on all If>So’s dynamic triggers, any content of the website can be customized. That includes titles, texts, images, call to actions, and buttons.
The recurrence option allows you to display custom content to users who were logged-in in the past. This option can be used to prompt visitors to log-in again or to stop displaying those visitor registration notifications.
Click here to read more about recurrence.
How to set up a unique content for logged-in users?
- On your WordPress dashboard, go to “If>So → Add New Trigger
- Click on “Select a condition” and select “User Behavior → Logged-in “.if the user is logged-in.
- In the default content field, set content to be displayed if the user is not logged-in.(optional, can be left blank).
- Press “Publish” and paste the shortcode generated by If>So in your website.
- Will this work with server and WordPress caching solutions?
Whether you are using a caching plugin or server caching, you can navigate to the plugin settings and enable the "Page Caching Compatibility" option. With the option enabled, dynamic triggers will be rendered in a separate request that will take place after the loading of the cached version.
Learn more about Page Caching Compatibility.
- Can I redirect users to a different page based on conditions?