Thanks for replying but I still can't get it to work. Is anything wrong with this code?
<?php
class custom_loop extends thesis_custom_loop {
function page() {
if(is_page( array('career-work','happiness'))) {
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(59,'62));
$loop = query_posts("cat=59,62");
thesis_loop::home();
wp_reset_query();
$wp_query = $saved_query;
} else
thesis_loop::page();
}
}
$custom_loop = new custom_loop();
The code above is to show teasers on a specific page. It obviously works for one page but where do I add this code, or what do I change it to, in order for it to work for any page I specify?
I've tried creating a new PHP file in my theme and copying and pasting the code (changing the category ID etc) but it won't work.
Thanks