Звіт по проєкту допомога армії 'post', 'post_status' => 'publish', 'posts_per_page' => 10, 'order' => 'DESC', 'orderby' => 'date' ); $latest_posts = new WP_Query( $args ); if ( $latest_posts->have_posts() ) { echo ''; while ( $latest_posts->have_posts() ) { $latest_posts->the_post(); echo '' . get_the_title() . ''; } echo ''; wp_reset_postdata(); } else { echo 'No posts found'; } ?>