I’m using two loops on the same page. No big deal.
But now my tag, “<?php the_title(); ?>” doesn’t show the page of the title. Instead, it shows the title of the last post being displayed.
For fun, I tried moving the tag to before the first loop, and the title went back to normal. It seems like some variable somewhere is not getting cleared or reset…
- The topic ‘Page title changes when using multiple loops?’ is closed to new replies.