• wnpaul

    (@wnpaul)


    Hello,

    I am trying to do things with the information available inside the loop in the header, sidebar, and footer as well as in the main content area.
    I can create a monolithic index.php which includes the entire html inside the loop, but when I split it up into separate header, sidebar and footer files and pull these in with get_xxx() (or with include() ), the loop information (i.e. the_content(), the_title(), etc.) is not available in these separate files.

    Is there a way I can split index.php into separate files while retaining all the loop info in these separate files?

The topic ‘header, sidebar, footer inside the loop?’ is closed to new replies.