wordpress cms system is very powerful, you may be able to realize related functions through the relevant functions. Wordpress how many users will be asked to call a specified category of the article it? In fact, very simple, with a look and see with ythah, a few lines of code to solve the code below
<ul> <? PHP query_posts ( 'CAT = 1 & showposts = 5'); // CAT is to call classification ID, showposts a number of articles to be displayed?> <PHP the while (have_posts ()):? the_post (); ?> ? <Li> <a href="<?php the_permalink(); ?> "title =" <PHP the_title ();??> "> <PHP the_title ();?> </a> </ Li > ? <PHP endwhile; wp_reset_query ();?> </ ul>
Is not it convenient? Of course, you can define their own style css