* @package digitale-pracht */ $grid_archive_title = is_archive() ? get_the_archive_title() : null; if ( have_posts() ) : // Start the loop. while ( have_posts() ) : the_post(); $container_class = ''; if ( digitalepracht_first_post_on_first_page_on_home_has_thumbnail() === true ) { // A bit confusing, but works. It‘s not about the title, but about the border top. $container_class = ' has-no-title'; } if ( digitalepracht_is_first_post_in_loop() === true ): ?>

2, 'prev_text' => __( 'Previous', 'digitale-pracht' ), 'next_text' => __( 'Next', 'digitale-pracht' ), 'screen_reader_text' => __( 'Posts navigation', 'digitale-pracht' ), ) ); // If no content, include the "No posts found" template. else : get_template_part( 'content', 'none' ); endif;