Projet de theme pour pluxml 5.6
dans Entraide
Bonjour à tous,
Je suis entrain de faire un théme pour pluxml 5.6 , seulement j'arrive pas à afficher l'image du dernier article sur la page d'accueil (HOME)
est ce qu'il y a un code spécifique pour ça ou un plugin??
Je suis entrain de faire un théme pour pluxml 5.6 , seulement j'arrive pas à afficher l'image du dernier article sur la page d'accueil (HOME)
est ce qu'il y a un code spécifique pour ça ou un plugin??
0
Connectez-vous ou Inscrivez-vous pour répondre.
Réponses
peux-tu nous copier le code de ta page home.php ?
<?php include(dirname(__FILE__).'/header.php'); ?> <!-- .main-container --> <div class="main-container"> <div class="main wrapper clearfix"> <div class="column-one"> <div id="posts" class="clearfix"> <?php while($plxShow->plxMotor->plxRecord_arts->loop()): ?> <article id="post-<?php echo $plxShow->artId(); ?>" class="post-32 post type-post status-publish format-standard hentry category-category1 clearfix box" role="article"> <a href="<?php $plxShow->artUrl(); ?>" class="post-thumb-link"><img width="320" height="320" src=""<?php $plxShow->template(); ?>/img.php?src=<?php $plxShow->artThumbnail('#img_url'); ?>" class="attachment-post-thumb wp-post-image" /></a> <header> <h2 class="post-title"><?php $plxShow->artTitle('link'); ?></h2> </header> <div class="entry-content"> <p><?php $plxShow->artChapo(); ?></p> </div> <div class="meta clearfix"> <div class="icon icon-"></div> <span class="post-date"><?php $plxShow->artDate('#num_day #month #num_year(4)'); ?></span> <span class="post-comments"> <a><?php $plxShow->artNbCom(); ?></a> </span> </div> </article> </div><!-- //posts --> <?php endwhile; ?> <!-- begin #pagination --> <!-- end #pagination --> </div><!-- end #column-one --> </div> <!-- end #main --> <!-- end .main-container --> <?php include(dirname(__FILE__).'/footer.php'); ?>