'podcasty', 'posts_per_page' => 6, 'orderby' => 'date', 'order' => 'DESC', ); $podcasty_query = new WP_Query( $args ); $blog_args = array( 'post_type' => 'post', 'posts_per_page' => 5, 'orderby' => 'date', 'order' => 'DESC', ); $blog_posts = new WP_Query( $blog_args ); $box_1 = get_field('box_1'); $box_2 = get_field('box_2'); $box_form_home_page = get_field('box_3', 7); ?>
have_posts()) : while ($podcasty_query->have_posts()) : $podcasty_query->the_post(); get_template_part('inc/template-podcast-card', null, [ 'image' => get_the_post_thumbnail_url(get_the_ID(), 'medium_large'), 'title' => get_the_title(), 'link' => get_the_permalink(), 'acf' => get_field('time') ]); endwhile; endif; wp_reset_postdata(); ?>
found_posts > 6) : ?>

$item['post']->ID, 'image' => get_the_post_thumbnail_url($item['post']->ID), 'title' => $item['post']->post_title, 'link' => get_the_permalink($item['post']->ID), // 'category' => get_the_category($item->ID) ]); ?> $box_form_home_page['img'], 'title' => $box_form_home_page['text'], 'link_text' => 'Zobacz wszystkie artykuły', 'link' => get_permalink(94), ]); ?>