Breaking the loop breaks dynamic sidebar ability
-
I’m using dynamic sidebars which are working great, except on a custom page where I had to break the below (loop):
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
…and replace it with:<?php if (have_posts()) : ?> <html to display tables /> <?php while (have_posts()) : the_post(); ?> <html to display rows />
This seems to be enough to break the functionality. I’ve tried a number of solutions incl. calling my preferred dynamic sidebar directly, but then it still displays the default sidebar.
Anyone had this issue before and found a solution?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Breaking the loop breaks dynamic sidebar ability’ is closed to new replies.