Title: multiple loops using asides hack
Last modified: August 18, 2016

---

# multiple loops using asides hack

 *  [seldomstatic](https://wordpress.org/support/users/seldomstatic/)
 * (@seldomstatic)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/multiple-loops-using-asides-hack/)
 * I’m using the “asides” hack which throws the following into the “loop”:
    ====
   ========================================== <?php if (in_category(33) && !$single){?
   > <ul class=”asides”> <li id=”p<?php the_ID(); ?>”><?php echo wptexturize($post-
   >post_content); echo ‘ ‘; comments_popup_link(‘(0)’, ‘(1)’, ‘(%)’)?> <?php edit_post_link(‘(
   e)’); ?>
 * <?php } else { ?>
    ==============================================
 * In addition, I want to exclude specific category posts from the index(home) page
   using the “Exclude Posts From Some Category” as seen here:
 * [http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category](http://codex.wordpress.org/The_Loop#Exclude_Posts_From_Some_Category)
 * How do I get these two hacks to the loop to work together? I figure it requires
   multiple post loops in a template but I don’t understand how it works.
 * Thanks,
 * -SS

The topic ‘multiple loops using asides hack’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [seldomstatic](https://wordpress.org/support/users/seldomstatic/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/multiple-loops-using-asides-hack/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
