Ejemplo n.º 1
0
do_action('yit_before_primary');
?>

<!-- START PRIMARY -->
<div id="primary" class="sidebar-no">
    <div class="container group">
	    <div class="row">
	        <?php 
do_action('yit_before_content');
?>
	        <!-- START CONTENT -->
	        <div id="content-page" class="span12 content group">          
	        
			<?php 
if (!isset($vars->post_id)) {
    yit_portfolio($post->post_name);
} else {
    ?>
	        
	            <div class="clear"></div>
	            <div class="posts">      
	                
	                <div id="post-<?php 
    if (isset($vars->item_id)) {
        echo $vars->item_id;
    }
    ?>
" class="hentry-post group portfolio-post internal-post">
	                	
	                	<?php 
    yit_get_template('portfolios/full-description/loop.php', array('current_portfolio' => $vars->post_id));
Ejemplo n.º 2
0
get_header();
do_action( 'yit_before_primary' );

?>

<!-- START PRIMARY -->
<div id="primary" class="sidebar-no">
    <div class="container group">
	    <div class="row">
	        <?php do_action( 'yit_before_content' ) ?>
	        <!-- START CONTENT -->
	        <div id="content-page" class="span12 content group">          
	        
			<?php
			if( !isset( $vars->post_id ) ) : yit_portfolio($post->post_name); 
			else :
			?>
	        
	            <div class="clear"></div>
	            <div class="posts">      
	                
	                <div id="post-<?php if (isset($vars->item_id)) echo $vars->item_id; ?>" class="hentry-post group portfolio-post internal-post">
	                	
	                	<?php yit_get_template( 'portfolios/full-description/loop.php', array( 'current_portfolio' => $vars->post_id ) ); ?>
						
						<div class="clear"></div>
	                </div>      
	            
	            </div>
	        <?php endif ?>