Пример #1
0
		
		<h2><a href="<?php 
the_permalink();
?>
"><?php 
the_title();
?>
</a></h2>
			<?php 
//foundationpress_entry_meta();
?>

		<div class="entry-content">
			<?php 
$content = get_the_content();
echo "<p>" . tronk($content, 60, "...") . "</p>";
?>
		</div>

		
		
	</div>
	
	<div class="read-more-container"> 
			<?php 
echo '<a href="' . get_the_permalink() . '" class="read-more-link" title="' . esc_attr(get_the_title()) . '">Voir l\'actualité</a>';
// wpml repere
?>
		</div>

</article>
    ?>
    <div class="item">
    <div class='thumb'><?php 
    echo get_the_post_thumbnail($recent["ID"], 'vignette_actu');
    ?>
</div> 
    <div class='date'><?php 
    echo get_the_time(get_option('date_format'), $recent["ID"]);
    ?>
</div>
    <div class='title'><?php 
    echo __($recent["post_title"]);
    ?>
</div>
    <div class='texte'><?php 
    echo tronk(__($recent["post_content"]), 250, "...");
    ?>
</div>
    <div class='readmore'><a href="<?php 
    echo get_the_permalink($recent["ID"]);
    ?>
"><?php 
    echo __("More...", "foundationpress");
    ?>
</a></div>
    </div>
    
    <?php 
}
?>