Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Show posts in current category and specific tag Reply To: Show posts in current category and specific tag

#14052
Tom
Keymaster

No, let’s run with it a bit.

How about this?:

add_filter( 'wp_show_posts_shortcode_args', function( $args, $settings ) {
    if ( 123 === $settings['list_id'] ) {
        $args['post__in'] = array( 305512, 334934, 332645, 334067 );
    }

    return $args;
}, 10, 2 );