Beispiel #1
0
						<a href="<?php 
    echo $youtube_href;
    ?>
" class="youtube btn btn-square">&nbsp;</a>
					</div>
				</div>
			</div>
		</div>
	</div>
<?php 
}
?>

<?php 
$testimonials_cat_id = 8;
$testimonials = posts::getPosts($testimonials_cat_id, 1);
if ($testimonials) {
    ?>
	<div class="container-fluid testimonials-wrap">
		<div class="container">
			<h2><?php 
    echo get_the_category_by_ID($testimonials_cat_id);
    ?>
</h2>
			<?php 
    foreach ($testimonials as $post) {
        ?>
				<?php 
        setup_postdata($post);
        the_content();
        ?>