TPG Get Posts
[resolved] Limit Excerpt (3 posts)

  1. h.schiefer
    Posted 3 years ago #

    I would like to know if the plugin has a feature built in to limit the number or words, or characters in the excerpt. Also, it would appear the show_entire param doesn't work? I set it to false and I still get the whole post.


  2. cswaim
    Plugin Author

    Posted 3 years ago #

    when the more tag is inserted into a post, WP displays a teaser and inserts a 'read more' link. The show entire over-rides this default WP behavior and shows the entire post. The default value is false. Make sure your more tag is inserted where you want the post to break.

    The excerpt is shown in its entirety. If you are using excerpts, it assumes you want to show the excerpt.

    The shorten text routine was developed to limit the text to a fixed number of characters for specific formatting. The best option for seeing if the shorten text will work the way you want is to play around with it.

  3. h.schiefer
    Posted 3 years ago #

    Thanks! The shorten_content worked very well! I missed that when I looked through the options before.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TPG Get Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic