par
Mazarini » 10 mai 2011, 11:51
Bonjour,
Un éditeur avec de la coloration syntaxique aide bien.
echo ' <h2 class="entry-title full-title"><a href="' , the_permalink() , '" title="Permanent link to ' , the_title_attribute() , '" rel="bookmark" rev="post-' , the_ID() '">' , the_title() , '</a></h2> ';
Il est aussi possible de faire plusieurs "echo" pour faciliter la lecture.
echo ' <h2 class="entry-title full-title">';
echo '<a href="' , the_permalink() , '" title="Permanent link to ' , the_title_attribute() , '" rel="bookmark" rev="post-' , the_ID() '">' ;
echo the_title();
echo '</a>' ;
echo '</h2> ';
Bonjour,
Un éditeur avec de la coloration syntaxique aide bien.
[php]
echo ' <h2 class="entry-title full-title"><a href="' , the_permalink() , '" title="Permanent link to ' , the_title_attribute() , '" rel="bookmark" rev="post-' , the_ID() '">' , the_title() , '</a></h2> ';
[/php]
Il est aussi possible de faire plusieurs "echo" pour faciliter la lecture.
[php]
echo ' <h2 class="entry-title full-title">';
echo '<a href="' , the_permalink() , '" title="Permanent link to ' , the_title_attribute() , '" rel="bookmark" rev="post-' , the_ID() '">' ;
echo the_title();
echo '</a>' ;
echo '</h2> ';
[/php]