Can someone please help me with this?
If this code can pull all posts by author on a single.php page in the sidebar:
<?php query_posts('cat=7&author=' . $post->post_author . '&order=ASC&showposts=-1'); ?>
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php endwhile; endif; ?>
Can someone please advise what changes I'll need to make to this code so I can display ALL POSTS as Links in the sidebar on a single.php that relate to all posts in a given category regardless of which category/single.php is being displayed?
Hmmm. I hope that makes sense.