Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Shortcode for Pods Taxonomies? Reply To: Shortcode for Pods Taxonomies?

#15797
Tom
Keymaster

As an example, this is the function you’d use:

<?php
$object = get_queried_object();

if ( isset( $object->term_id ) ) {
    $settings = array(
        'taxonomy' => 'timeline_tag',
        'tax_term' => $object->term_id,
    );

    wp_display( 123, $settings );
}
?>

So this would target the 123 list ID, and it will fill in the tax_term with the current term ID.