All Collections
Dynamic Content for Elementor
Features
Dynamic Visibility
Dynamic Visibility - Triggers - Custom Condition
Dynamic Visibility - Triggers - Custom Condition
Updated over a week ago

If you have a complicated situation that you cannot handle with prebuilt triggers, you can write your own conditions with some PHP codes.

You have full access to the WordPress function and PHP power.

To retrieve current $post (or $user) object require it as global:
global $post, $user;

Examples

  • connect to an external database or API (like weather) and show different content based on external temperature;

  • check the value of multiple post metadata and show elements if they satisfy your defined criteria.

Did this answer your question?