ejedmonds
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Other reasons for page templates not showing up in sidebar?I’m having the same problem, still scratching my head.
Forum: Themes and Templates
In reply to: Sidebar listing of specific postsOr you can group all your posts into a particular category and when you call the loop only have those posts displayed.
Forum: Themes and Templates
In reply to: Sidebar listing of specific postsThis article should help you out buddy:
http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query
Forum: Themes and Templates
In reply to: querying wp_get_archives()It’s always funny how when you write pseudo code how the answer seems to appear out of thin air! 🙂
Forum: Themes and Templates
In reply to: querying wp_get_archives()Okay, well I didn’t design a plugin but I modified the funtion wp_get_archives().
In the if else section where it checks the type I simply added another count variable $archive_id that updates everytime the function loops through the result set, then added the $archive_id as a parameter to get_archives_link().
When get_archives_link() is formatting your lists it automatically adds the $archive_id to the<li>tag or whichever on depending on the parameter you set with wp_get_archives().
This way all archive list items have a unique id which you can style. Using a number is a bit non-descriptive but just wanted to see if this could work.I’ll figure out how to create a plugin and submit it, I’m sure I’m not the only one who would need this functionality.