Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Filtrer les articles WordPress mis en avant

<?php
query_posts('showposts=5&category_name=featured');
if ( have_posts() ) : while ( have_posts() ) : the_post();
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<p><?php the_content(); ?></p>
endwhile; else:
endif;
wp_reset_query(); 
?>
Source by wpformation.com #
 
PREVIOUS NEXT
Tagged: #Filtrer #les #articles #WordPress #mis #en #avant
ADD COMMENT
Topic
Name
8+5 =