Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php query_posts(array('post_type'=>'portfolio', 'numberposts' => 5, 'orderby' => 'rand')); ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <ul><li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li></ul>
- <?php endwhile; ?>
Advertisement
Add Comment
Please, Sign In to add comment