cfx
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Site busted – switching to Hyper Cache@ 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
In reply to: [W3 Total Cache] CSS Bad file param format.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
In reply to: 5 Loops Based On Category & TagsAnyone have any thoughts on this? Or is it just not possible?
Forum: Themes and Templates
In reply to: I've Broken My Loop!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
In reply to: 5 Loops Based On Category & TagsThank 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
In reply to: 5 Loops Based On Category & TagsThanks 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?