WP Manifestindependent plugin directory
manifest / builders / jet-engine-custom-contexts

Jet Engine Custom Contexts for Taxonomies

JetEngine custom context

by Crocoblock · github.com/mjhead/jet-engine-custom-contexts · website

6stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/mjhead/jet-engine-custom-contexts/archive/refs/heads/master.zip

Description

Plugin allows to set current post term of selected taxonomy as context for current dynamic widget or tag. Use case - when you need to show current category thumbnail and link (or any other term data) on the single post page or in the listing item.

Config example

add_action( 'jet-engine-custom-context', function( $config ) {
    $config->add_tax( 'taxonomy-slug' );
} );

How to use

  • Download, install and activate plugin;
  • Add configuration code (see example above) into the end of functions.php file of your active theme.
  • Set required taxonomy as Context for JetEngine dynamic widgets.

Context option

Context option