Pages excerpts
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.