Monday, September 28, 2009

Next Post

Author: Weston Ruter

By default, the_title() in The Loop returns post_title; if, however, this needs

to be overridden so that a custom heading is displayed, then an h2 element may be

supplied at the beginning of the post_content and this will replace the

post_title in the content. This is going off of the assumption that the site

title should be a h1, and the page title should be in an h2, and then page

sections are h3s and below

No comments:

Post a Comment