go41

the info you need to know


von Joern
Keine Kommentare

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 be all shortcodes visible in this truncated text!To strip the…