Home › Forums › Pro Support › Post order › Reply To: Post order
May 15, 2020 at 5:09 pm
#15603
Keymaster
Kind of silly, but you could build a “wrapper” shortcode:
add_action( 'my-posts-shortcode', function() {
ob_start();
$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]