WebspaceWorks Articles/News

Fold Page List Three Years On, Adds Breadcrumb Capability

Over three years after it was originally released for WP 1.5, the Fold Page List plugin remains compatible with current versions of Wordpress.

Generating breadcrumbs with Fold Page List

It now adds the capabity to produce breadcrumb trails for the current page through the introduction of a new template tag, wswwpx_page_breadcrumbs that is called as follows:

  • wswwpx_page_breadcrumbs($homelink, $separator, $echo); where (default values in brackets):
    • $homelink: array(’label’=>’Home’, ‘title’=>’Homepage’, ‘link’=>’/’)
    • $separator: string(’ » ’)
    • $echo: boolean (true)

The output from the tag is a string of links to each ancestor, starting with the home (root) page, and progressing down the page hierarchy to the current location. Links are not currently output as list items, simply as links separated by the separator string specified in the call.

Breadcrumb placement

The most probable placement for the wswwpx_page_breadcrumbs($homelink, $separator, $echo); call will be in either the header.php file (at the bottom), or at the top of the main content area in all page templates needing them.

Please note that this does not work for categories.

Fold Page List support and download

Documentation, version history and a download link are available from the Fold Page List support page.


Webspace Works: Effective website design, development & search engine optimisation

Simply effective, web design that works!

W3Csites.com Web Standards Group: Promoting Accessibility and standards across the internet This page uses valid CSS
This page uses valid XHTML 1.0 Transitional This page works in all modern browsers Sitening perfect score Real Design Network Approved