$options = get_option('aesthete_options');
if ($options['catalogue_category']
&& (
is_category($options['catalogue_category'])
|| cat_is_ancestor_of ($options['catalogue_category'],$cat)
)
):
include(TEMPLATEPATH . '/category-catalogue.php');
elseif ($options['portfolio_category'] && is_category($options['portfolio_category'])):
include(TEMPLATEPATH . '/category-portfolio.php');
else:
?>
=single_tag_title('', false);?>
$options = get_option('aesthete_options');
if (is_home())
{
$page = (get_query_var('paged')) ? get_query_var('paged') : 1;
//query_posts("cat=$cat&paged=$page&posts_per_page=$posts_per_page");
query_posts("cat=-${options['portfolio_category']},-${options['catalogue_category']}&paged=$page&posts_per_page=$posts_per_page");
}
?>
if(function_exists('wp_paginate'))
{
wp_paginate();
} else
posts_nav_link(' — ', __('« Previous Page'), __('Next Page »'));?>