WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Word Limit Excerpt (3 posts)

  1. filmmakerdream
    Member
    Posted 1 year ago #

    I know this question has probably been asked several times, but finding the right response is complicated. How can we limit the words for the excerpt posts? Is it possible to change this code - <?php the_excerpt(); ?> ?

    I would also like to note that I do not want to use a plugin. I would like to try to modify the code myself.

    Thanks!

  2. premiumwp
    Member
    Posted 1 year ago #

    You can control the excerpt length using filters. See: http://codex.wordpress.org/Function_Reference/the_excerpt

  3. filmmakerdream
    Member
    Posted 1 year ago #

    Fantastic! Thank you so much for assisting me in finding a very simple solution to limit the words! The directions worked very well!

Topic Closed

This topic has been closed to new replies.

About this Topic