init
This commit is contained in:
16
wp-content/themes/flatsome/template-parts/posts/content.php
Normal file
16
wp-content/themes/flatsome/template-parts/posts/content.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="entry-content">
|
||||
<?php if ( flatsome_option('blog_show_excerpt') || is_search()) { ?>
|
||||
<div class="entry-summary">
|
||||
<?php the_excerpt(); ?>
|
||||
<div class="text-<?php echo get_theme_mod( 'blog_posts_title_align', 'center' );?>">
|
||||
<a class="more-link button primary is-outline is-smaller" href="<?php echo get_the_permalink(); ?>"><?php _e('Continue reading <span class="meta-nav">→</span>', 'flatsome'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'flatsome' ) ); ?>
|
||||
<?php
|
||||
wp_link_pages();
|
||||
?>
|
||||
<?php }; ?>
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user