Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class custom_loop extends thesis_custom_loop {
- function page() {
- if(is_page(health-fitness')) {
- global $thesis_design;
- $thesis_design->home['body']['content']['features'] = 0;
- $thesis_design->display['archives']['style'] = 'teasers';
- $thesis_design->image['thumb']['y'] = 'after-headline';
- $thesis_design->teasers['options']['date']['show'] = 0;
- $thesis_design->teasers['options']['excerpt']['show'] = 1;
- global $wp_query;
- $saved_query = $wp_query;
- thesis_loop::page();
- wp_reset_query();
- $args = array('category_in' => array(62));
- $loop = query_posts("cat=62");
- thesis_loop::home();
- wp_reset_query();
- $wp_query = $saved_query;
- } else
- thesis_loop::page();
- }
- }
- $custom_loop = new custom_loop();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement