+
+ have_posts()) :
+ while ($kariera_query->have_posts()) : $kariera_query->the_post();
+ $image = get_the_post_thumbnail_url(get_the_ID(), 'medium');
+ $title = get_the_title();
+ $link = get_permalink();
+
+ get_template_part(
+ 'inc/template-article-card', null, [
+ 'image' => $image,
+ 'title' => $title,
+ 'link' => $link
+ ]
+ );
+ endwhile;
+ wp_reset_postdata();
+ endif;
+ ?>
+
+ found_posts > get_option('posts_per_page')) : ?>
+
+
+