Change the limit of words in list posts

This commit is contained in:
Fabiano Alencar 2018-04-19 10:31:57 -03:00
parent 1e7c38ad2d
commit 84b0fe4045
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<h3 class="mb-3">
<a href="<?php the_permalink(); ?>" class="font-weight-bold"><?php the_title(); ?></a>
</h3>
<?php echo '<p class="text-oslo-gray">'.wp_trim_words( get_the_content(), 35, '...' ).'</p>'; ?>
<?php echo '<p class="text-oslo-gray">'.wp_trim_words( get_the_content(), 63, '...' ).'</p>'; ?>
<p>by <?php the_author_posts_link(); ?>, <?php the_time(); ?></p>
<a href="<?php the_permalink(); ?>" class="btn btn-jelly-bean float-right">Read more</a>
</div>