I am trying to change my posts so it will show excerpts instead of full posts. I found this code in loop single.php
<div class="entry"> <?php the_post_thumbnail('thumbnail', array('class' => 'alignleft')); ?> <?php the_content(__('» Read more..', 'themezee_lang')); ?> <div class="clear"></div> <?php wp_link_pages(); ?> </div>
[Please post code or markup snippets between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
I changed the <?php the_content(__(‘» Read more..’, ‘themezee_lang’)); ?> to <?php the_excerpt(); ?> and it showed excerpts but when I clicked on the actual article only the excerpt showed, not the whole article. C
Can anyone please help?e
- The topic ‘Change Full Posts to Excerpts’ is closed to new replies.