Tentacle icon indicating copy to clipboard operation
Tentacle copied to clipboard

Add Read More, Teaser, and Page separators

Open adampatterson opened this issue 13 years ago • 1 comments

Used on Posts, the read more should cut off the content in the blog loop but show the whole post on the single post view.

Could also be used on a page to indicate paged content.

For example:

  • Page
  • More -
  • More -
  • 
    

Would render as: Page Page 2 Page 3

https://github.com/WordPress/WordPress/blob/master/wp-includes/post-template.php#L199

adampatterson avatar Feb 21 '12 22:02 adampatterson

Probably You could {{ post.content | strip_html | truncatewords: 50 }} to do it ?

fedir avatar Apr 27 '13 08:04 fedir