"><?php the_title(); ?> </a></h2> <div class="post-meta"> <p><?php echo et_extra_display_post_meta(array('author_link' => $show_author, 'post_date' => $show_date, 'date_format' => $date_format, 'categories' => $show_categories, 'comment_count' => $show_comments, 'rating_stars' => $show_rating)); ?> </p> </div> <?php if (has_excerpt()) { $excerpt = get_the_excerpt(); } else { $excerpt_length = get_post_thumbnail_id() ? '100' : '230'; $excerpt = et_truncate_post($excerpt_length, false); } ?> <div class="excerpt"> <?php if (!empty($excerpt)) { ?> <p><?php echo $excerpt; ?> </p> <?php } ?> </div> </div>
the_title(); ?> </a></h2> <div class="post-meta"> <p><?php echo extra_display_archive_post_meta(); ?> </p> </div> <div class="excerpt"> <p><?php if (has_excerpt()) { the_excerpt(); } else { $excerpt_length = get_post_thumbnail_id() ? '100' : '230'; et_truncate_post($excerpt_length); } ?> </p> <a class="read-more-button" href="<?php the_permalink(); ?> "><?php echo esc_html__('Read More', 'extra'); ?> </a> </div> </div> <?php } ?>
echo et_extra_display_post_meta($meta_args); ?> </p> </div> <div class="excerpt"> <?php if ('excerpt' == $content_length) { if (has_excerpt()) { the_excerpt(); } else { if (in_array($post_format, array('audio', 'map'))) { $excerpt_length = '100'; } else { $excerpt_length = get_post_thumbnail_id() ? '100' : '230'; } echo wpautop(et_truncate_post($excerpt_length, false)); } if ($show_more) { $read_more_class = 'read-more-button'; $data_icon = ''; if (isset($custom_read_more) && 'on' === $custom_read_more && isset($read_more_icon) && '' !== $read_more_icon) { $read_more_class .= ' et_pb_inline_icon'; $data_icon = et_pb_process_font_icon($read_more_icon); } ?> <a class="<?php echo esc_attr($read_more_class); ?> " data-icon="<?php echo esc_attr($data_icon);