'; //add full width title print '

'.__('TAG ARCHIVES','princess').'


'. strtoupper(sprintf( __('%s','princess'), single_cat_title( '', false ) )) .'
'; //sidebar on left if($princess_default_sidebar_position == 'left'){ print ''; } print '
'; 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 '
'; wp_paginate(); } else{ //display default next/prev links if($wp_query->max_num_pages > 1 ){ print '
'; print '
'; previous_posts_link('
  '.__('Previous Page ','princess').'
'); print '
'; 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('
'.__('Next Page','princess').'  
'); print '
'; print '
'; } } print '
'; //sidebar on right if($princess_default_sidebar_position != 'left'){ print ''; } print ' '; }else{ //no sidebar print '
'; //add full width title print '

'.__('TAG ARCHIVES','princess').'


'. strtoupper(sprintf( __('%s','princess'), single_cat_title( '', false ) )) .'
'; print '
'; 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 '
'; wp_paginate(); } else{ //display default next/prev links if($wp_query->max_num_pages > 1 ){ print '
'; print '
'; previous_posts_link('
  '.__('Previous Page ','princess').'
'); print '
'; 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('
'.__('Next Page','princess').'  
'); print '
'; print '
'; } } print '
'; } get_footer(); ?>