3, 'post_type' => 'page', 'post__in' => $pin_minimal_slidepages, 'orderby' => 'post__in' ); $pin_minimal_query = new WP_Query($pin_minimal_args); if ($pin_minimal_query->have_posts()): $pin_minimal_sld = 10; ?>
have_posts()): $pin_minimal_query->the_post(); $pin_minimal_i++; $pin_minimal_slideno[] = $pin_minimal_i; $pin_minimal_slidetitle[] = get_the_title(); $pin_minimal_slidedesc[] = get_the_excerpt(); $pin_minimal_slidelink[] = esc_url(get_permalink()); if (has_post_thumbnail()) { ?>
2, 'prev_text' => esc_html__('Back', 'pin-minimal') , 'next_text' => esc_html__('Next', 'pin-minimal') , )); else: // If no content, include the "No posts found" template. get_template_part('no-results', 'index'); endif; ?>
'', 'link_before' => '', 'link_after' => '', 'pagelink' => '' . esc_html__('Page', 'pin-minimal') . ' %', 'separator' => ', ', )); ?>
2, 'prev_text' => esc_html__('Back', 'pin-minimal') , 'next_text' => esc_html__('Next', 'pin-minimal') , )); else: // If no content, include the "No posts found" template. get_template_part('no-results', 'index'); endif; ?>