WordPress.org

Plugin Directory

wiki:PageTools

One of McNicksPlugins

I wrote the page-tools plugin because I wanted to start making use of pages within WordPress. The plugin contains a few simple functions:

  • page_get_parents() returns a list of HTML anchor tags that point to the parents (ie. parent, grandparent, ...etc) of the current page.
  • page_get_children() returns a list of HTML anchor tags that point to the children of the current page.
  • page_get_siblings() returns a list of HTML anchor tags that point to the siblings of the current page.
  • page_get_toc() returns a list of HTML anchor tags that link to all of the headings defined within the current page.

http://mcnicks.org/wordpress/page-tools/

Last modified 12 years ago Last modified on 04/06/06 21:54:33