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 show data below post title Reply To: show data below post title

#17792
Tom
Keymaster

It may be better to manually place the categories before the title.

Let’s try:

1. Remove the code you added to move the categories.
2. Use the options I pointed to in the previous post.
3. Manually add the categories before the title:

add_action( 'wpsp_before_title', function( $settings ) {
    printf( '<span class="wp-show-posts-terms wp-show-posts-meta">%1$s</span>',
        get_the_term_list( get_the_ID(), $settings[ 'taxonomy' ], '', apply_filters( 'wpsp_term_separator', ', ' ) )
    );
} );