WordPress’s wp_list_pages() function includes a parameter that’s intended to let you exclude a Page and all of its descendants from your Page lists: ‘exclude_tree’. The idea is that if you pass wp_list_pages this parameter, e.g. by using wp_list_pages(’exclude_tree=1′), you can remove entire sections of your website from your Page lists, and new Pages in that section will be automatically excluded without you having to modify your code. (more…)

The title attribute is best used to add optional advisory information to an element.

For example, suppose that you were writing an article about overcoming adversity and you made a passing reference to Lance Armstrong. Most of your readers will know who Lance Armstrong is, so you don’t want to spend time explaining, but the few who don’t might benefit from a brief description in a title attribute. The link above has this: “Professional cyclist who overcame testicular cancer to win the Tour de France a record seven consecutive times”.

Some users won’t be able to access the title attribute: most screen reader users won’t hear it, and keyboard users won’t see it. For mouse users who hover questioningly over the link, however, enlightenment will appear in the form of a tool tip, so the title attribute does serve a purpose. (more…)

A new version of Page Lists Plus can now be downloaded from the WordPress plugin repository. This is the most significant update for a long time, and adds enough new features (including several in response to email requests) that an overview is in order. Here are some of the highlights of PLP v1.1.2:

First, the ability to add custom classes to specific list items has been restored. I had removed this, thinking that the page-item-x classes automatically added by WP made it redundant, but several users asked for it to be reinstated. To use this feature, check the “

Second, the ability to unlink the current Page’s link has been added. To use this feature, check the “