//echo "root=".get_root_category($cat);
$args = array(
'type' => 'post',
'child_of' => $options['catalogue_category'],
'orderby' => 'name',
'order' => 'ASC',
'hide_empty' => false,
'include_last_update_time' => false,
'hierarchical' => 1,
'pad_counts' => false );
$categories = get_categories( $args );
//print_r($categories);
?>
=single_cat_title('', false)?>
$args1 = array(
'max_width' => $options['catalogue_thumb_width'],
'max_height' => $options['catalogue_thumb_height'],
'caption' => false,
'align'=>'alignnone',
'link_to' => 'image',
'thumb_only'=>false,
'fit_entire_size'=>true,
'margin'=>'10px',
);
//draw_image_thumb($args);
?>
$args = array(
'post_parent' => $post->ID,
'post_type' => 'attachment',
'post_mime_type' => image,
'order' => 'ASC',
'orderby' => 'menu_order ID'
);
$images =& get_children( $args );
if (($images)):?>
$icount=0;
foreach ( $images as $attachment_id => $attachment ) :
$args1['img']= wp_get_attachment_image_src( $attachment_id,'full');
draw_image_thumb($args1);
$icount++;
if ($icount>=$options['catalogue_image_number']) break;
?>
//= get_post_meta($post->ID, 'Catalog Item Short Description', true);?>
?>