| name | language | licence |
|---|---|---|
| SHOW DIFFERENT AMOUNT OF POSTS ON WORDPRESS HOME PAGE THAN OTHER PAGES | PHP | BSD |
| ANAGE MULTIPLE WORDPRESS SITES WITH ONE DATABASE AND ONE CODE BASE | PHP | BSD |
| WORDPRESS QUERY POSTS OF CERTAIN CUSTOM FIELD VALUES | PHP | BSD |
| WORDPRESS LOAD JQUERY | PHP | BSD |
| WORDPRESS GET CONTENT | PHP | BSD |
| WORDPRESS: LATEST POSTS FROM CATEGORY | PHP | BSD |
| WORDPRESS QUERY POST FOR A SPECIFIC PAGE | PHP | BSD |
| Social bookmarking of posts | PHP | BSD |
< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >
language: PHP
licence: BSD
WORDPRESS: LATEST POSTS FROM CATEGORY
options: view full snippet • send to code collector
<div class="pod">
<h2>Latest Announcements</h2>
<ul>
<?php query_posts('cat=5&showposts=10'); ?>
<?php while(have_posts()) : the_post(); if(!($first_post == $post->ID)) : ?>
<li>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permalink: <?php the_title(); ?>"><?php the_title(); ?></a>
</li>
<?php endif; endwhile; ?>
</ul>
</div>



library
buttons (3)
wp (93)