/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/*--------------------------------------------------*/ /** categories not in regular homepage loop teaser */ /*--------------------------------------------------*/ function exclude_front_page() { global $query_string; if (is_home()) { query_posts($query_string.'cat=-3,-80,-101'); } } add_action('thesis_hook_before_content', 'exclude_front_page');
Comments
