Using Pagelist custom fields

There are some fields you can add to your post or page when using the ipagelist() function in your templates:

  • pagelist_category The category ID to show the latests posts from.
  • pagelist_tag The tag to show the latest posts tagged with.
  • pagelist_page The page ID we want to show the child pages. If set to This when editing a page, will show the child pages from the current page.

Also, there are some optional custom fields to customize the output:

  • pagelist_title The custom title you want for the list. Set to Hide to hide the title.
  • pagelist_depth The depth level for child pages. Set to All to show all levels. Only used with pagelist_page.
  • pagelist_number The number of posts to show in the list. Not used with pagelist_page.

Additional fields:

  • pagelist_bypass Set this to true if you want to write the tags inside a post and don't get them converted to the content list. This is only useful if you need to document the tags usage.
 
pagelist/fields.txt · Last modified: 2010/01/23 07:00 by jcanals
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki