We display an overview of sub-pages on the parent page for a website we are creating, using the code found here: http://codex.wordpress.org/Function_Reference/get_pages#Displaying_Child_pages_of_the_current_page_in_post_format
This code however, loads the complete content for that subpage, we would like to trim it to 50 characters. How should this code be modified to limit the number of characters?
Thanks for any help,
- The topic ‘How to trim this content to 50 characters’ is closed to new replies.