Example #1
0
        ?>
			<span class="tags-link">
				<?php 
        printf(__('Tags: %1$s', 'Twoot'), $tags_list);
        ?>
			</span>
			<?php 
    }
    ?>
		</footer>
	</div>
	</div>
	<!--end post blog-->

	<?php 
    $q = new Twoot_Template_Related_Posts(array('title' => esc_attr__('Related Posts', 'Twoot'), 'counts' => twoot_get_frontend_func('opt', 'opt', 'blog_related_counts'), 'order' => twoot_get_frontend_func('opt', 'opt', 'blog_related_order'), 'orderby' => twoot_get_frontend_func('opt', 'opt', 'blog_related_orderby'), 'post_type' => 'post', 'taxonomy' => 'category'));
    echo $q->post();
    ?>

	<?php 
    if (comments_open()) {
        comments_template('', true);
    }
    ?>

	</div>

	<?php 
}
?>
Example #2
0
		<?php 
        }
        ?>
		<?php 
        echo twoot_generator('portfolio_meta');
        ?>
		</div>
	</div>
	<?php 
    }
    ?>
	<!--end half-->
	</div>

	<?php 
    $q = new Twoot_Template_Related_Posts(array('title' => esc_attr__('Related Works', 'Twoot'), 'counts' => twoot_get_frontend_func('opt', 'opt', 'portfolio_related_counts'), 'posts' => twoot_get_frontend_func('meta', 'related_posts'), 'order' => twoot_get_frontend_func('opt', 'opt', 'portfolio_related_order'), 'orderby' => twoot_get_frontend_func('opt', 'opt', 'portfolio_related_orderby'), 'post_type' => 'portfolio', 'taxonomy' => 'portfolio_cat'));
    $do_query = twoot_get_frontend_func('opt', 'opt', 'portfolio_related_layout') == 'carousel' ? $q->carousel() : $q->grid();
    echo $do_query;
    ?>

	<?php 
}
?>

</article>
<!--end #primary-->

</div>
</div>
<!--end #content-->