• Hey guys. I’ve designed a new page template on my site for country profiles, as you can see here. http://escdaily.com/esc-2011/albania
    The problem is, I want to add a vote up/vote down button to the template but because the template doesnt have the loop, I’m getting the same voting results appear on each page rather then each page having its own results.

    I’ve tried adding <?php if (have_posts()) : while (have_posts()) : the_post(); ?> to the pages code but whenever I do, the page either disappears or I get a server error in my browser until I remove the code.

    Here is the entire page coding. I would be very grateful if someone could tell me where to insert the loop.
    http://pastebin.com/FV7du6sy

  • The topic ‘Where do I add the loop on this page?’ is closed to new replies.