WP Manifestindependent plugin directory
manifest / content / jet-engine-twig-dynamic-popup

JetEngine Twig Dynamic Popup

The plugin for creating dynamic popups using Twig, offering advanced JetEngine settings.

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/crocoblock/jet-engine-twig-dynamic-popup/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This plugin allows to add popups with dynamic data for Timber/Twig listings.

Instructions

What the button attributes mean

  • class="jet-engine-listing-popup-trigger" - jet-engine-listing-popup-trigger is a required class, which means this element will be trigger for the dynamic popup. You can add any other CSS classes you want to style the element in the way you need;
  • data-object-type="user" - defines the type of the object, which should be set for the popup. Possible options - post, user, comment and term. Please note for the term you also need to define the taxonomy to get the term object from - term::category
  • data-object-id="{{ jet_engine_data(args={key:'post_id'}) }}" - object ID. This is dynamic part. By this ID plugin sets appropriate object on the backend (or {{ post.ID }} or any function to get ID of required object).
  • data-open-popup="436" - ID of the popup we need to open by click on this element