Pages excerpts

Downloads: 1986
Category: Plugin
Compatible with: GetSimple 2.01 -

Last Updated: December 4, 2010
Tags: excerpt
Author: p01
Author Website: http://get-simple.info/forum/post/8453

(3.6) 10 Votes

Plugin Description:

Simply add page excerpts in your pages. First author : yojoe

Function call

Main function had to be printed, with page name as parameter :

 echo page_excerpt('index');

You can define excerpt length (200 by default) as second parameter :

 echo page_excerpt('index', 60);

You can also defining the output type (text or html, text by default) as third parameter :

 echo page_excerpt('index', 60, 'html');

Page parsing

A page excerpt can be called from page editor with tag :

  (% excerpt : name %)

You can define excerpt length :

  (% excerpt : name, 60 %)

And output type :

  (% excerpt : name, 60, html %)

Install Instructions:

  • Download it.
  • Unzip it in /plugins directory.