Home › Forums › Pro Support › Taxonomie Category and display Post_tag › Reply To: Taxonomie Category and display Post_tag
July 4, 2019 at 6:19 pm
#10165
Keymaster
Ah, try this:
add_action( 'wpsp_before_content', function( $settings ) {
if ( 123 === $settings['list_id'] ) {
$tags = get_the_tag_list( '',', ' );
if ( $tags ) {
echo '<div class="wp-show-posts-entry-meta">' . $tags . '</div>';
}
}
} );
The only thing you need to change is the 123
, which you’ll want to change to the ID of the list you’re targeting.