WordPress.org

Ready to get started?Download WordPress

Forums

Layout repeats (3 posts)

  1. Sparky
    Member
    Posted 9 years ago #

    I fixed my previous problem, but now my layout repeats over and over again.

    http://at-the-beginning.net/wp/

    I made a .txt file with my index code in it:

    http://at-the-beginning.net/wp/indextxt.txt

    If you can figure out why it repeats so much, PLEASE let me know. Thanks.

  2. Kafkaesqui

    Posted 9 years ago #

    Could have something to do with the fact you have the start of The Loop in the head portion of your index template. Take this:

    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>

    And move it to just after this line:

    <div id="main">

  3. Sparky
    Member
    Posted 9 years ago #

    Alright, thanks, it worked. I moved that whole section up there, and I didn't realize I moved that too. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.