WordPress.org

Ready to get started?Download WordPress

Forums

How to trim this content to 50 characters (1 post)

  1. Stef Verbeeck
    Member
    Posted 1 year ago #

    Hi all,

    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,
    Stef

Topic Closed

This topic has been closed to new replies.

About this Topic