Title: arndis's Replies | WordPress.org

---

# arndis

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

 *   [Profile](https://wordpress.org/support/users/arndis/)
 *   [Topics Started](https://wordpress.org/support/users/arndis/topics/)
 *   [Replies Created](https://wordpress.org/support/users/arndis/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/arndis/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/arndis/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/arndis/engagements/)
 *   [Favorites](https://wordpress.org/support/users/arndis/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: [Need post list grouped by tag](https://wordpress.org/support/topic/need-post-list-grouped-by-tag/)
 *  Thread Starter [arndis](https://wordpress.org/support/users/arndis/)
 * (@arndis)
 * [16 years ago](https://wordpress.org/support/topic/need-post-list-grouped-by-tag/#post-1498338)
 * Code over at themeshaper got broken because I’m not used to BBPress.
 * Pastebin of working code over at [http://wordpress.pastebin.com/zavDfaqZ](http://wordpress.pastebin.com/zavDfaqZ).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Need post list grouped by tag](https://wordpress.org/support/topic/need-post-list-grouped-by-tag/)
 *  Thread Starter [arndis](https://wordpress.org/support/users/arndis/)
 * (@arndis)
 * [16 years ago](https://wordpress.org/support/topic/need-post-list-grouped-by-tag/#post-1498332)
 * And for anyone looking for the code of the complete solution, it is posted with
   comments at [http://themeshaper.com/forums/topic/create-post-list-grouped-by-tag?replies=2#post-12365](http://themeshaper.com/forums/topic/create-post-list-grouped-by-tag?replies=2#post-12365).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Need post list grouped by tag](https://wordpress.org/support/topic/need-post-list-grouped-by-tag/)
 *  Thread Starter [arndis](https://wordpress.org/support/users/arndis/)
 * (@arndis)
 * [16 years ago](https://wordpress.org/support/topic/need-post-list-grouped-by-tag/#post-1498330)
 * Of course, soon I’m going to add another layer of complexity to the whole thing
   by telling query_posts to only consider posts with a custom field…won’t that 
   be fun?
 * But first I have a couple years of projects to upload.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Need post list grouped by tag](https://wordpress.org/support/topic/need-post-list-grouped-by-tag/)
 *  Thread Starter [arndis](https://wordpress.org/support/users/arndis/)
 * (@arndis)
 * [16 years ago](https://wordpress.org/support/topic/need-post-list-grouped-by-tag/#post-1498329)
 * Yes, that does work! Thank you!
 * And no, it’s not terribly well documented. The code above started life looping
   through categories, and that was fairly simple to get working thanks to the example
   at [http://iamnotagoodartist.com/how-to/wordpress-how-to-sort-category-archive-posts-by-subcategory/](http://iamnotagoodartist.com/how-to/wordpress-how-to-sort-category-archive-posts-by-subcategory/).
   The main problem was linking each heading, for which I have an ugly makeshift
   because get_category_link won’t work properly.
 * When I started converting it to do the same thing for tags, I found one roadblock
   after another — there were no obvious equivalent tag functions for the category
   functions I had been using. I eventually stumbled on get_terms, which has presented
   its own problems.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Need post list grouped by tag](https://wordpress.org/support/topic/need-post-list-grouped-by-tag/)
 *  Thread Starter [arndis](https://wordpress.org/support/users/arndis/)
 * (@arndis)
 * [16 years ago](https://wordpress.org/support/topic/need-post-list-grouped-by-tag/#post-1498317)
 * Thank you, and this does get a little farther — the tag headings that have posts
   now have appropriate posts.
 * Unfortunately half the tags turn up empty — just the heading, no posts. All those
   tags do have posts belonging to them already, so this shouldn’t be happening.
   The only thing I can see in common between them is that all those tags are made
   of multiple words — they have spaces in them. Earlier I tried changing one multiword
   tag to be one word, but the query_posts output did not change.
 * Help please?

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