Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( is_page('wellness')) {
- query_posts('cat=wellness&showposts=6');
- }
- elseif ( is_page('compounding')) {
- query_posts('cat=compounding&showposts=6');
- }
- else ( is_page('news')) {
- query_posts('cat=news&showposts=6');
- }
- ?>
Add Comment
Please, Sign In to add comment