$posts = get_posts(array(
'post_type' => 'newslist',
'meta_key' => 'acf_dobavlenie_tikerov_0_acf_nazvanie_tikera',
'meta_value' => $get_com->ticker
));
if( $posts ): ?>
<div class="card-articles">
<?php foreach( $posts as $post ):
setup_postdata( $post );
?>
// html разметка
<?php endforeach; ?>
</div><!--end card-articles -->
<?php wp_reset_postdata(); ?>
<?php endif; ?>
<?php
function register_styles() {
wp_register_style('my-bootstrap', get_template_directory_uri() .
'/libs/bootstrap/css/bootstrap.min.css');
wp_enqueue_style('my-bootstrap');
wp_register_style('style', get_template_directory_uri() .
'/style.css');
wp_enqueue_style('style');
}
add_action( 'wp_enqueue', 'register_styles' );