Subdomain Posts
PHP | 1 day ago
PHP | 1 day ago
PHP | 1 day ago
PHP | 1 day ago
PHP | 1 day ago
PHP | 1 day ago
PHP | 2 days ago
PHP | 2 days ago
PHP | 2 days ago
PHP | 2 days ago
Recent Posts
None | 23 sec ago
C | 2 min ago
None | 3 min ago
None | 4 min ago
PHP | 6 min ago
None | 7 min ago
PHP | 7 min ago
None | 7 min ago
None | 8 min ago
XML | 9 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Rick Beckman on the 14th of Jun 2009 07:08:50 AM Download | Raw | Embed | Report
  1. function custom_body_classes($content) {
  2. # Add "blog" class for home page.
  3. if (is_home()) return $content[] = 'blog';
  4.  
  5. # Simply return the defaults for everything else.
  6. else return $content;
  7. }
  8. add_filter('thesis_body_classes', 'custom_body_classes');
Submit a correction or amendment below. [ previous version ] | [ difference ] | Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: