';
if ( tag_description() ){
print '
'.tag_description().'
';
}
if (have_posts()) :
while ( have_posts() ) : the_post();
get_template_part( 'content-blog-small' );
endwhile;
endif;
//pagination
if(function_exists('wp_paginate')) {
print '
';
}
get_footer();
?>';
wp_paginate();
}
else{
//display default next/prev links
if($wp_query->max_num_pages > 1 ){
print '
';
print '
';
}
}
print '
'; previous_posts_link('
';
print ' '.__('Previous Page ','princess').'
'); print '- ';
$page_curr = (get_query_var('paged')) ? get_query_var('paged') : 1;
print sprintf(__('PAGE %d OF %d','princess'),$page_curr,$wp_query->max_num_pages);
print ' -
';
print ''; next_posts_link('
';
print '
'.__('Next Page','princess').'
'); print '