Exemple #1
0
 function alx_related_posts()
 {
     return hu_related_posts();
 }
<?php

$related = hu_related_posts();
?>

<?php 
if ($related->have_posts()) {
    ?>

<h4 class="heading">
	<i class="fa fa-hand-o-right"></i><?php 
    _e('You may also like...', 'hueman');
    ?>
</h4>

<ul class="related-posts group">

	<?php 
    while ($related->have_posts()) {
        $related->the_post();
        ?>
	<li class="related post-hover">
		<article <?php 
        post_class();
        ?>
>

			<div class="post-thumbnail">
				<a href="<?php 
        the_permalink();
        ?>