Hi, great question. We will add this option very soon. In the mean time, you can use this code snippet taken from Elementor’s documentation:
https://developers.elementor.com/docs/hooks/custom-query-filter/
/**
* Update the query to use specific post statuses.
*
* @since 1.0.0
* @param \WP_Query $query The WordPress query instance.
*/
function my_query_by_post_status( $query ) {
$query->set( 'post_status', [ 'future', 'draft'] );
}
add_action( 'elementor/query/{$query_id}', 'my_query_by_post_status' );
You need to change the {$query_id} to your query id for this to work
I tried this but it simply doesn’t work. When will this feature be in your plugin? I am waiting to see if we should buy your FrontEnd Admin but i want to see what kind of support you offer.
-
This reply was modified 10 months, 3 weeks ago by
awjensen.
Sorry to hear that. I will make sure we implement this important feature soon