Custom Archive Display with Excerpts
-
I have a frustrating question to ask, it’s taking me aaages to find an answer through Google. The concept is deceivingly simply yet the execution seems like a nightmare!! I’m sure someone who has more programming brains than I do figured out a solution…please share your brilliance with a poor soul.
I’m working on a template page, archives.php, it’s supposed to list my archives in this manner:
October 2006
excerpts of posts in that month
January 2007
excerpts of posts in that month
March 2007
excerpts of posts in that monthI can’t figure it out though. You definitely need multiple loops for this, right? I know wp_get_archives(); will list the title posts I need, but what do I need to combine it with to get the excerpts out instead of a list with title links? Is there a way at all?
I can’t even figure out how to get wp_list_categories(); to do the same for me to display excerpts in categories. I have a different template page that I’m using to display the archives like this;
Category 1
excerpts of posts in that category
Category 2
excerpts of posts in that category
Category 3
excerpts of posts in that categoryI know archive.php has the code to display only 1 category or a certain date range and I can get it to display excerpts there, but I need multiple listings with the excerpts and I cant seem to work off the code in there, help?!
(I don’t know if this matters to whoever replies, but my excerpts don’t have text, they’re an image tag…I don’t think it matters though…just putting it out there in case it does)
Thanks for taking the time to read this!!
- The topic ‘Custom Archive Display with Excerpts’ is closed to new replies.