Example #1
0
 role="article" itemscope itemtype="http://schema.org/BlogPosting">
                        
								<?php 
        get_template_part('section/portfolio/content', 'content');
        ?>
                                            
                        		<?php 
        $terms = get_the_terms($post->ID, 'categories-portfolio');
        if (!empty($terms)) {
            $arr_term = array();
            foreach ($terms as $term) {
                $arr_term[] = $term->term_id;
            }
        }
        //print_r($terms);
        $ST_Portfolio->curser_part(array('id' => $post->ID, 'terms' => $arr_term));
        ?>
                        
                        </article> <!-- end article -->
                        
                <?php 
        //  if(ot_get_option( 'disable_post_comments' )=='on'){ comments_template( '', true ); }
        ?>
                        
                        <?php 
    }
    ?>
			
                        
                        <?php 
} else {