filtrer les articles wordpress mis en avant

Solutions on MaxInterview for filtrer les articles wordpress mis en avant by the best coders in the world

showing results for - "filtrer les articles wordpress mis en avant"
Lorenzo
09 Mar 2018
1<?php
2query_posts('showposts=5&category_name=featured');
3if ( have_posts() ) : while ( have_posts() ) : the_post();
4<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
5<p><?php the_content(); ?></p>
6endwhile; else:
7endif;
8wp_reset_query(); 
9?>
similar questions