1
Comment puis-je supprimertag bande H1 et son contenu
<h1>and its contents</h1>
de la ligne suivante
strip_tags(substr($article->content(),0,255)
de ce code complet
<?php $last_articles = $this->children(array('limit'=>5, 'order'=>'page.created_on DESC')); ?>
<?php foreach ($last_articles as $article): ?>
<div class="entry">
<h3><?php echo $article->link($article->title); ?></h3>
<?php echo strip_tags(substr($article->content(),0,255).'...', '<p><a>'); ?>
</div>
<?php endforeach; ?>
Pefect merci. – Andy
@Andy: Vous êtes les bienvenus .... – Sarfraz