<?php 
	global $wp_query, $post;
	
	$tmp_query = $wp_query;
	
	if ( have_posts() ) : 

	    while ( have_posts() ) : the_post();
	    	
			add_filter( 'the_title', 'yiw_get_convertTags' ); 
			
// 			$wpautop = get_post_meta( get_the_ID(), '_page_remove_wpautop', true );
// 			
// 			if( $wpautop )
// 				remove_filter( 'the_content', 'wpautop' );
			
			$_active_title = get_post_meta( $post->ID, '_show_title_page', true ); 
            
            if( get_post_meta( $post->ID, '_show_breadcrumbs_page', true ) == 'yes' && get_post_type() != 'product' )
                yiw_breadcrumb(); 
			
			if( $_active_title == 'yes' || !$_active_title ) 
				the_title( '<h2>', '</h2>' );        
			?>	
			
			<div id="post-<?php the_ID(); ?>" <?php post_class('group'); ?>><?php
				the_content();?>
				
				<?php wp_link_pages(); ?>
			</div><?php
		
// 			if( $wpautop )
// 				add_filter( 'the_content', 'wpautop' ); 
		
		endwhile; 
	
	endif; 
	
	$wp_query = $tmp_query;      
	
	wp_reset_postdata();
?>                    