Home › Forums › Pro Support › Shortcode for Pods Taxonomies? › Reply To: Shortcode for Pods Taxonomies?
May 21, 2020 at 3:39 pm
#15797
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.