Tag Archives: body

No description for tag body. Suggest the administrator to fill a helping blurb.

Add a .singular class within the body tag

The is_singular() conditional tag check if the user is displaying a single post, a single page or an attachment, which are respectively check with is_single(), is_page() and is_attachment(). With these conditional tags come three usefull classes nested in the body tag: .single, .page or .attachment. But, no .singular classe to rule them all! Continue reading