Home › Forums › Pro Support › How to Show Tags at Masonry Column? › Reply To: How to Show Tags at Masonry Column?
October 25, 2018 at 4:54 pm
#6309
Keymaster
Hi there,
You could do something like this:
add_action( 'wpsp_after_content', function( $settings ) {
if ( 10 === $settings['list_id'] ) {
$tags = get_the_tag_list(' | ',', ');
if ( $tags ) {
echo '<div class="wpsp-custom-meta">' . $tags . '</div>';
}
}
} );
Just update the 10
value to the ID of your WPSP list you’re targeting.
Let me know if you need more info 🙂