Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $lastposts = get_posts('category_name=Beatz');
- foreach($lastposts as $lastpost) :
- setup_postdata($lastpost);
- ?>
- <h2><a href="<?php get_permalink($lastpost->ID); ?>" id="post-<?php $lastpost->ID; ?>"><?php get_the_title($lastpost->ID); ?></a></h2>
- <?php the_content(); ?>
- <?php endforeach; ?>
Add Comment
Please, Sign In to add comment