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
Tag Archives: class
No description for tag class. Suggest the administrator to fill a helping blurb.
HTML5 Boilerplate — Using .ir class and make the replaced image “clickable”
HTML5 Boilerplate — and ♥ Basics by the way — comes with some usefull CSS classes to hide content in multiple ways depending on your needs: .hidden, .visuallyhidden, .invisible and .ir. Let’s fly over the first classes and then detail the last. Continue reading