Tektriks

Coding starts here
Home / Blog

Display limited words in WordPress

Want to display limited words in wordpress while displaying content? As earlier you tried to combine multiple functions to achieve this. This useful function with do the rest.


echo wp_trim_words( get_the_content(), 50, '...' );

Above code is a resource from

Leave a Reply

avatar
  Subscribe  
Notify of
tektriks logo