Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Adding categories/tags to the lightbox Reply To: Adding categories/tags to the lightbox

#15852
Tom
Keymaster

As of right now it’s only possible to display the terms from the chosen taxonomy by default.

To get lists from other taxonomies, you would need to hook into the post lists and use get_the_term_list() to output the terms.

For example:

add_action( 'wpsp_after_content', function() {
    $custom_terms = get_the_term_list( get_the_ID(), 'my-custom-taxonomy' );

    if ( $custom_terms ) {
        echo $custom_terms;
    }
} );