Day off 30, ‘cat’ => 2 ); $myposts = get_posts( $args ); foreach( $myposts as $post ) { setup_postdata($post); ?> get_the_title() ) ); ?>