• hi

    I’m using a posts loop on a page but when I call the_title(); for each post title I am getting the page title, I guess this is because it’s a loop inside a loop. Is there a way to clear the page variables so they won’t be confused with the post variables? I’m not having much luck with finding this in the codex.

    a+
    gar

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter asquare

    (@asquare)

    opps never mind, resetting $post seems to do the trick now I’ve actually made template pages.

    a+
    gar

    Can you share your solution? I think my problem is similar, if not the same.

    Thanx.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘loop on a page – mixed results’ is closed to new replies.