// Showing children of current page in Posts Widget add_action( 'elementor_pro/posts/query/my_custom_filter', function( $query ) { // Get current post tags $current_page = get_queried_object_id(); // Modify the query $query->set( 'post_parent', $current_page ); } );