Monthly Archives: January 2008

Automated Indexes and wp_reset_query()

I’ve made a code change to the WordPress indexing system outlined in my previous post. If you had problems with the template, try the new code.
What I’ve done is add the wp_reset_query() function to the end of the loop that gathers the pages. This can avoid conflicts with other code that may be [...]

Automated Indexes

This site has several areas where there is a page that serves as an index for a bunch of sub-pages. Some good examples seen from this page are the “Features” and “Webcraft” sections of Nerdaphernalia. If you look at those pages they are simply lists of various articles with a short description for [...]

HTML Tip: Cross-browser <sup> tags

If you’ve ever used the HTML <sup> tag on a web page, you’ve probably noticed that it has a tendency to do strange things in various browsers. The most common effect is that the line height of that one line of text is pushed up, leaving a small but noticeable gap in the [...]