Advertisement
Guest User

Untitled

a guest
Feb 20th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. <?php
  2.  
  3. class custom_loop extends thesis_custom_loop {
  4. function page() {
  5. if(is_page(health-fitness')) {
  6. global $thesis_design;
  7. $thesis_design->home['body']['content']['features'] = 0;
  8. $thesis_design->display['archives']['style'] = 'teasers';
  9. $thesis_design->image['thumb']['y'] = 'after-headline';
  10. $thesis_design->teasers['options']['date']['show'] = 0;
  11. $thesis_design->teasers['options']['excerpt']['show'] = 1;
  12. global $wp_query;
  13. $saved_query = $wp_query;
  14. thesis_loop::page();
  15. wp_reset_query();
  16. $args = array('category_in' => array(62));
  17. $loop = query_posts("cat=62");
  18. thesis_loop::home();
  19. wp_reset_query();
  20. $wp_query = $saved_query;
  21. } else
  22. thesis_loop::page();
  23. }
  24. }
  25. $custom_loop = new custom_loop();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement