Forums

Help me fix my loop (3 posts)

  1. SheldonD
    Member
    Posted 4 months ago #

    Ok, so long story short I'm setting up my index page for my blog outside the the root wordpress directory. I have the following loop within site's content <div> tag:

    [code moderated - please use the pastebin]

    It all functions as expected, except the title date, and post snippet is all the way down below my footer. I'm assuming my entry <div> need's to be placed above the get_footer() php statement. Should I create a <div> to wrap the whole loop and entry <div>, with another <div> to contain the sidebar?

  2. jclark32
    Member
    Posted 4 months ago #

    Yes your footer function should be run at the end of the page. I always wrap all elements as tight as possible.

  3. SheldonD
    Member
    Posted 4 months ago #

    well that was easy, moved the footer function, now everythings perfectly in-line. now time to move to the finishing touches =)

Reply

You must log in to post.

About this Topic

Tags