выборка

[php]
$args = array(
'numberposts' => -1,
'category' => 0,
'tag' => 'avtostop',
'orderby' => 'date',
'order' => 'DESC',
'include' => array(),
'exclude' => array(),
'post_type' => 'post',
'suppress_filters' => true,
);

$posts = get_posts( $args );

foreach($posts as $post){ setup_postdata($post);
the_title();
the_excerpt();
}

wp_reset_postdata();

[/php]

© 2020: HochyInUa | Travel Theme by: D5 Creation | Powered by: WordPress
Вверх!