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 Post order Reply To: Post order


Kind of silly, but you could build a “wrapper” shortcode:

add_action( 'my-posts-shortcode', function() {
        $settings = array(
            'meta_key' => 'priority',
            'orderby' => 'meta_value',
            'order' => 'ASC',

        wpsp_display( 123, $settings );
    return ob_get_clean();
} );

Then you could add this to your block: [my-posts-shortcode]