Construction de site Web

Les listes d'articles WordPress affichent des images par défaut sans vignette

<? php if (get_post_meta($post->ID, 'thumbn [...]

Catalogue des articles

<? php if (get _ post _ meta($post->ID, 'thumbnail', true) : ? >

<? php $image = get_post_meta($post->ID, 'thumbnail', true) ; ?>

< a href = » < ? php the_permalink () ? > »rel="bookmark" title="< ? php the_title() ; ?> »>< img src = » < ? PHP echo $image ; ? >alt = "< ? php the_title() ; ?> "/></a>

<?php else: ?>

&lt; a href = » &lt; ? php the_permalink () ? &gt; »rel="bookmark" title="&lt; ? php the_title() ; ?&gt; »&gt; &lt; img src = » &lt; ? php bloginfo('template_url') ; ?&gt;/ assets/images/nopicture.jpg » alt= » &lt; ? php the_title() ; ?&gt; "/&gt; </a>

<? php endif ; ? &gt;