What could I use in place of wp_get_archives. i think understand the code suggested by t-p is for a loop on a page where the results are to be shown. As it is now the sidebar looks like this:
Daily Reports — (Daily posts below is links to each post)
* Daily Report 2010-10-26
* Daily Report 2010-10-25
* Weekly Report 2010-10-24 —- (This is a post with a category)
* Daily Report 2010-10-22
* Daily Report 2010-10-21
Weekly Reports —- (This section pulls all posts with Categories)
* Weekly Report 2010-10-24
As you can see the Weekly Report appears in both sections but would only like it to appear in the Weekly report section. can this be done using the loop in my sidebar? Right now I don’t have a loop in sidebar but this: <?php wp_get_archives(‘type=postbypost&daily&limit=10’); ?> to pull the last 10 posts.
I do not need it in the loop, rather in my side bar Daily Report list do not want a post with a category to show in recent posts lists