Read more but no Excerpt.
-
Hello,
Im currently building a simple blog for a friend. I use wordpress 4.0 and the SuevaFree theme. It has a built in function to enable an excerpt and a it adds a read more button.
But when i enable this, the blog still shows a full post. I changed this
<?php get_header(); ?> <!-- start content --> <div class="container"> <div class="row" > <div class="pin-article span12 full" > <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if ( has_post_thumbnail() ) : ?> <div class="pin-container"> <?php the_post_thumbnail('blog'); ?> </div> <?php endif; ?> <article class="article"> <h1 class="title"><?php the_title(); ?></h1> <div class="line"></div> <?php the_excerpt(); wp_link_pages(); if (suevafree_setting('suevafree_view_comments') == "on" ) : comments_template(); endif; ?> </article> <div style="clear:both"></div> </div> <?php endwhile; endif;?> </div> </div> <?php get_footer(); ?>
this is the page.php file
Where the_excerpt used to be the_content, But this doesn’t seem to work.
Any other suggestions?
Kind Regards
- The topic ‘Read more but no Excerpt.’ is closed to new replies.