/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/*--------------------------------------------------*/ /* remove byline from page */ /*--------------------------------------------------*/ function custom_body_class($classes) { if (is_page()) { $classes[] .= 'hide_meta'; } return $classes; } add_filter('thesis_body_classes', 'custom_body_class'); /*--------------------------------------------------*/ /* add to custom css */ /*--------------------------------------------------*/ .hide_meta .byline { display:none; } .hide_meta .headline_area { margin-bottom: 4em; } /* in a default thesis installation use .headline_meta instead of .byline */
Comments
