Two categories on one page – need help.
-
I currently have one category that posts to a page. I’d like to have two categories post to the same page.
I have this bit of code that someone else had already put in the page…
<? $args = 'category_name=appearances&author=' . $curauth->ID . 'showposts=100&order=ASC'; query_posts($args); if (have_posts()) { while (have_posts()) { the_post(); ?> <li> <strong><? echo get('appearance_date'); ?>: <? the_title(); ?></strong> <? the_content(); ?> </li>
that’s on the author.php page…
the category-news.php page that all the “news” categories post to has this bit of code..
<? while(have_posts()) { the_post(); ?>
I’d like to have all posts that have a blog category to also post to the category-news.php page as well….is it possible? and if so, how?
thanks much for any advice!
carrie
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Two categories on one page – need help.’ is closed to new replies.