Simply paste the code below where you’d like to load posts from the current week. Then don’t forget to display the results as desired.
$query_args = array( 'w' => date( 'W' ), 'year' => date( 'Y' ), ); $posts = get_posts( $query_args ); // display posts as desired
Thanks to Christian Brückner for the tip!