Skip to main content
Dynamic Visibility - Triggers - Favorites
Updated over 2 weeks ago

The Favorites Visibility Condition is a specific condition available within the Dynamic Visibility extension of Dynamic Content for Elementor.

It allows you to display or hide Elementor widgets, columns, sections, containers, or entire pages based on whether a specific page or post has been added to the user's favorites list.

This condition is particularly effective when used in conjunction with the Add to Favorites widget. It enables highly personalized user experiences by dynamically adapting content visibility according to user interactions.

Settings

Once the condition is enabled, the following options are available:

  • Check if a page/post is in favorites
    A switcher control to activate the condition.

  • Page/post to check
    This option allows you to choose whether the condition should check the current page or a specific page or post.

  • Select page/post
    When "Another page/post" is selected, you can manually choose the post or page to evaluate using a dynamic post selector.

  • Scope
    Defines the data storage method for favorites:

    • User – Favorites are stored per user (useful for logged-in users).

    • Cookie – Favorites are stored via browser cookies (suitable for anonymous users).

  • Favorite Key
    Allows customization of the storage key used to retrieve the list of favorited items. The default value is my_favorites.

Compatibility with Other Features

This condition is part of the Dynamic Visibility system and integrates seamlessly with any widget that supports visibility conditions.

It is particularly effective when paired with the Add to Favorites widget, which populates the favorites list. This condition will not return meaningful results without using that widget (or a similar mechanism to manage the favorites list).

Usage Summary

Use the Favorites Visibility Condition to:

  • Show content only if a specific post or page has been added to the user's favorites.

  • Build dynamic sections that react to user preferences.

  • Create membership-style interactions without requiring complex user roles or permissions.

This feature is ideal for tailoring content visibility based on user engagement and personalization strategies within Elementor.

Did this answer your question?