8. Feb. 2014
von
Keine Kommentare
Re: set the length of the_excerpt using wp_trim_words :: Reply by Joern
using Code:<?php echo wp_trim_words( get_the_excerpt(), 25, '' ); ?> is good as long you do not need more words than are in the_excerptyou can also use wp_trim_words with get_the_content like this:Code:echo wp_trim_words( get_the_content(), 60 );to get 60 wordsBUT! there will…