Title: baffleinc's Replies | WordPress.org

---

# baffleinc

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Child Theme not showing up for activation in Network Admin](https://wordpress.org/support/topic/child-theme-not-showing-up-for-activation-in-network-admin/)
 *  Thread Starter [baffleinc](https://wordpress.org/support/users/baffleinc/)
 * (@baffleinc)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/child-theme-not-showing-up-for-activation-in-network-admin/#post-3040582)
 * Fail. Was looking at the wrong part of the list alphabetically- didn’t know that
   child themes get grouped with parent themes. Cheers.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Maintenance Mode] Maintenance mode screwed my site :(](https://wordpress.org/support/topic/maintenance-mode-screwed-my-site/)
 *  Thread Starter [baffleinc](https://wordpress.org/support/users/baffleinc/)
 * (@baffleinc)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/maintenance-mode-screwed-my-site/#post-2123158)
 * To reiterate my problem, maintenance mode breaks all my sub-pages. All my top
   level pages work, however anything that is a child page comes up with the deleted
   maintenance mode template (which I’d made custom). what can I do about this?
 * I’ve searched for .maintenance files, and any stray index.html files. NADA.
 * please help, I’d like to have this site ready by tomorrow night.
 * ~Harley
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Multiple Loops](https://wordpress.org/support/topic/multiple-loops-3/)
 *  [baffleinc](https://wordpress.org/support/users/baffleinc/)
 * (@baffleinc)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/multiple-loops-3/#post-680400)
 * use a category foreach to get the category id, then add it into the query_posts()(
   add this just before the endwhile of the **main** posts:
 *     ```
       <?php
       	foreach((get_the_category()) as $category) {
       		$category_id = $category->cat_ID . '';
       		$category_name = $category->cat_name . '';
       	}
       ?>
       ```
   
 * then in your sidebar:
 *     ```
       <h2>Other posts under <?php echo $category_name; ?></h2>
       <?php
       if(have_posts()) :
       query_posts('cat='.$category_id);
       ...
       ```
   
 * OR
 *     ```
       <h2>Other posts under <?php echo $category_name; ?></h2>
       <?php
       if(have_posts()) :
       query_posts('cateogry_name='.$category_name)
       ...
       ```
   
 * That should work fine. Just make sure the first segment of code is within the
   main Loop!

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