Skip to content

A Zenphoto plugin to provide a content macros to print the content/extra content of a Zenpage page or news article

License

Notifications You must be signed in to change notification settings

acrylian/zenpage_macros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

zenpage_macros

A Zenphoto plugin to provide various content macros for Zenpage CMS items. For content/extra content of a Zenpage page or news article:

[PAGECONTENT <titlelink> <publish true|false> <title true|false> <header string>]
[PAGEEXTRACONTENT <titlelink> <publish true|false>]
[NEWSCONTENT <titlelink> <publish true|false>  <title true|false> <header string>]
[NEWSEXTRACONTENT <titlelink> <publish true|false>]

Excerpts of the direct subpages (1 level) of the current Zenpage page:

[SUBPAGES <headline> <excerpt length> <readmore text> <shortenindicator text>]

All are optional, set to empty quotes ('') if you only want to set the last one for example.

This generates the following html:

<div class='pageexcerpt'>
  <h3>page title</h3>
  <p>page content excerpt</p>
  <p>read more</p>
</div>

About

A Zenphoto plugin to provide a content macros to print the content/extra content of a Zenpage page or news article

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages