Title: cfx's Replies | WordPress.org

---

# cfx

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Site busted – switching to Hyper Cache](https://wordpress.org/support/topic/site-busted-switching-to-hyper-cache/)
 *  [cfx](https://wordpress.org/support/users/cfx/)
 * (@cfx)
 * [15 years ago](https://wordpress.org/support/topic/site-busted-switching-to-hyper-cache/#post-2078096)
 * @ Danny, that’s not entirely accurate as I have tried all of the changes you 
   mentioned and my site(s) were still hosed. I had to deactivate the plug-in…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] CSS Bad file param format.](https://wordpress.org/support/topic/css-bad-file-param-format/)
 *  [cfx](https://wordpress.org/support/users/cfx/)
 * (@cfx)
 * [15 years ago](https://wordpress.org/support/topic/css-bad-file-param-format/#post-2085961)
 * I have had the same issue, along with a host of other problems since I upgraded
   to the latest build…Can’t seem to get rid of it.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [5 Loops Based On Category & Tags](https://wordpress.org/support/topic/5-loops-based-on-category-tags/)
 *  Thread Starter [cfx](https://wordpress.org/support/users/cfx/)
 * (@cfx)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/5-loops-based-on-category-tags/#post-1741854)
 * Anyone have any thoughts on this? Or is it just not possible?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [I've Broken My Loop!](https://wordpress.org/support/topic/wtf-ive-broken-my-loop/)
 *  [cfx](https://wordpress.org/support/users/cfx/)
 * (@cfx)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/wtf-ive-broken-my-loop/#post-1762104)
 * Hello TheImperial,
 * It looks to me like your trying to get to much mileage out of one WP loop. Try
   creating a WP loop for each category you wish to display, this will also enable
   you to change your “display code” inside each loop independently with no fear
   of hosing other category loops.
 * For Example:
 *     ```
       < -- 1st Loop Start -- >
       <?php query_posts('category_name=YOUR_CAT_NAME&showposts=10'); ?>
       <?php while (have_posts()) : the_post(); ?>
   
         Display Markup Here
   
       <?php endwhile;?>
   
       < -- 2nd Loop Start -- >
       <?php query_posts('category_name=YOUR_2ND_CAT_NAME&showposts=10'); ?>
       <?php while (have_posts()) : the_post(); ?>
   
         Display Markup Here
   
       <?php endwhile;?>
   
       etc...
       ```
   
 * Hope that helps
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [5 Loops Based On Category & Tags](https://wordpress.org/support/topic/5-loops-based-on-category-tags/)
 *  Thread Starter [cfx](https://wordpress.org/support/users/cfx/)
 * (@cfx)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/5-loops-based-on-category-tags/#post-1741846)
 * Thank you for the reply MichaelH 🙂
 * I was wondering if you or anyone else that happens by this thread new of a way
   to make category name in the above codes WP_Query() dynamic so I don’t have to
   make a category template for all of the sites categories…
 *     ```
       <?php $my_query = new WP_Query('category_name=CAT_NAME_Variable&tag=TAG_NAME&orderby=title');
       ```
   
 * I see that the page category title is outside the loop, but I can’t seem to find
   a method to get the category name or slug into that wp_query() statement.
 * Do you or anyone else have any experience with this?
 * *edited due to formatting screw up
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [5 Loops Based On Category & Tags](https://wordpress.org/support/topic/5-loops-based-on-category-tags/)
 *  Thread Starter [cfx](https://wordpress.org/support/users/cfx/)
 * (@cfx)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/5-loops-based-on-category-tags/#post-1741702)
 * Thanks for the reply MichaelH…
 * I thought the code looked decent, I guess I am just worried that I missed something
   or that it could have been written better.
 * I am racking my brain trying to figure out how to allow pagination on the last
   loop only and only showing the last loop on paginated pages…
 * Any other thoughts?

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