Skip to content

JetEngine Dynamic Visibility conditions

Soczó edited this page Feb 12, 2025 · 14 revisions

The plugin currently provides 13 dynamic visibility conditions. These are related to Woo, Woo membership, Subscriptons, Learndash and Memberpress

Learndash specific conditions

  • Course Access Type
  • Course Certificates Available
  • Course Not Enrolled
  • Course Enrolled
  • Not Have Enough Points
  • Course Reached Student Limit
  • Course Completed
  • Course Part of Any Group

Usage

Course Access Type

Where: Single Course template / Single post template (related to course) // Course listing (JetEngine)

Group: LearnDash

You can show or hide an element based on the type of course access


Course Certificates Available

Where: Single Course template / Single post template (related to course) // Course listing (JetEngine) Group: LearnDash

You can show or hide an element based on the current course have a Certificate. (not whether the user has already received it)


Course Not Enrolled

Where: Single Course template / Single post template (related to course) // Course listing (JetEngine) Group: LearnDash

You can show or hide an element based on the current course, and the current user is not enrolled the course. (so not yet a student of the course)


Course Enrolled

Where: Single Course template / Single post template (related to course) // Course listing (JetEngine) Group: LearnDash

You can show or hide an element based on the current user enrolled the current course


Not Have Enough Points

Where: Single Course template / Single post template (related to course) // Course listing (JetEngine) Group: LearnDash

You can show or hide an item based on checking whether the user has enough points for the current course.


Course Reached Student Limit

Where: Single Course template / Single post template (related to course) // Course listing (JetEngine) Group: LearnDash

You can show or hide an item based on checking the current course reached a Student limit


Course Completed

Where: Single Course template / Single post template (related to course) // Course listing (JetEngine)

Group: LearnDash

You can show or hide an item based on checking the current user completed the current course


Course Part of Any Group

Where: Single Course template / Single post template (related to course) // Course listing (JetEngine)

Group: LearnDash

This will check the current course, is part of any group


Woo Membership specific conditions

Link: https://woocommerce.com/products/woocommerce-memberships/

  • Current Membership Expired
  • User Membership Access Can View
  • Access Memberships

Usage

Current Membership Expired

Where: You can only use it in jetengine listing grid, where you list Woo memership

Group: Woo Membership

Help: https://github.com/Lonsdale201/dynamic-elementor-extension/wiki/JetEngine-extra-Macros#how-to-build-a-listing-with-the-memberhsip-with-current-user-membership-details


User Membership Access Can View

Group: Woo Membership Main check method to determine if the user can view the current post based on membership


Access Memberships

Where: Anywhere on your site Group: Woo Membership

This is technically the Woo Membership condition available in elementor, just ported to jetengine. Support the Any membership option. If you are select multiple membership the relation is AND. image


Subscriptions specific conditions

Link: https://woocommerce.com/products/woocommerce-subscriptions/


  • Has Active Subscriptions With Selected Statuses

Usage

Has Active Subscriptions With Selected Statuses

Where: Anywhere on your site

Group: Woo Subscriptions

You can use it anywhere. It takes the current user into account, and whether you have a subscription to it based on the status or statuses you have entered


Woo related condition

  • User Reviewed Product

Usage

User Reviewed Product

Where: Product single template / loop / listing grid

Group: WooCommerce Extra

condition setting, which takes into account whether the current logged-in user has already submitted a review for the given product. (It only takes taken into account what has been accepted)

Memberpress related condition(s)

  • Access Memberships

Usage

Access Memberships

Where: Anywhere on your site

Group: MemberPress membership

Select one or more available MemberPress memberships from the list to define the visibility of the element. If you select multiple memberships, the internal logic is OR-based, meaning the user must have at least one active membership to meet the condition.

image

WordPress related Conditions

  • Check URL Path
  • Is Front Page

Usage

Check URL Path

Where: Anywhere on your site

Group: Other

This visibility condition function checks whether the specified text is present in the current page's URL. For example: example.com/test/test2

If you specify "test2" in the visibility settings (value field), the rule will be applied whenever "test2" is found anywhere in the current page's URL.


Is Front Page

Where: Anywhere on your site

Group: Other

This condition looks at whether the item is currently displayed on the front page of the website (which is usually the "home page").

Clone this wiki locally