Title: ejedmonds's Replies | WordPress.org

---

# ejedmonds

  [  ](https://wordpress.org/support/users/ejedmonds/)

 *   [Profile](https://wordpress.org/support/users/ejedmonds/)
 *   [Topics Started](https://wordpress.org/support/users/ejedmonds/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ejedmonds/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ejedmonds/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ejedmonds/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ejedmonds/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ejedmonds/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Other reasons for page templates not showing up in sidebar?](https://wordpress.org/support/topic/other-reasons-for-page-templates-not-showing-up-in-sidebar/)
 *  [ejedmonds](https://wordpress.org/support/users/ejedmonds/)
 * (@ejedmonds)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/other-reasons-for-page-templates-not-showing-up-in-sidebar/#post-886154)
 * I’m having the same problem, still scratching my head.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Sidebar listing of specific posts](https://wordpress.org/support/topic/sidebar-listing-of-specific-posts/)
 *  [ejedmonds](https://wordpress.org/support/users/ejedmonds/)
 * (@ejedmonds)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/sidebar-listing-of-specific-posts/#post-567460)
 * Or 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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Sidebar listing of specific posts](https://wordpress.org/support/topic/sidebar-listing-of-specific-posts/)
 *  [ejedmonds](https://wordpress.org/support/users/ejedmonds/)
 * (@ejedmonds)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/sidebar-listing-of-specific-posts/#post-567298)
 * This article should help you out buddy:
 * [http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query](http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [querying wp_get_archives()](https://wordpress.org/support/topic/querying-wp_get_archives/)
 *  Thread Starter [ejedmonds](https://wordpress.org/support/users/ejedmonds/)
 * (@ejedmonds)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/querying-wp_get_archives/#post-566292)
 * It’s always funny how when you write pseudo code how the answer seems to appear
   out of thin air! 🙂
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [querying wp_get_archives()](https://wordpress.org/support/topic/querying-wp_get_archives/)
 *  Thread Starter [ejedmonds](https://wordpress.org/support/users/ejedmonds/)
 * (@ejedmonds)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/querying-wp_get_archives/#post-566287)
 * 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.

Viewing 5 replies - 1 through 5 (of 5 total)