Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Get page content without format and limit the number of characters

Started by Usk70 9 years ago · 1 replies · 580 views
9 years ago

I want to get the content of a given page but without format and limiting output to n characters. The idea is to include the first part of content in an index of pages. Similar to list of blog posts.

Any tips?

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 76 8 hours ago
General · by pamtbaau, 13 hours ago
1 47 12 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago