We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support How to Show Tags at Masonry Column? Reply To: How to Show Tags at Masonry Column?

#6309
Tom
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 🙂