Ashley Cameron Design

Ashley Cameron Design

Trim/Limit WordPress Content

SnippetsWordPress

About a 1 minute read

"Individually, we are one drop. Together, we are an ocean."

Ryunosuke Satoro


1
2
3
4
<?php
   //set the # to the how many words you want
   echo wp_trim_words( get_the_content(), 100 );
?>