• I am new to WP, and I am trying to implement my own layout to index.php. I have my layout in two files, a header and a footer .php file. My header.php file shows up just fine when I view the page, but it simply will not show my footer.php file. If you look at the source code, it even says it’s there.
    http://eyes.faithful.nu
    Is there something I’m missing?

Viewing 11 replies - 1 through 11 (of 11 total)
  • You seem to have 2 HEAD tags too many, and I can’t see where the footer is in the code ?

    Thread Starter ara

    (@ara)

    I fixed the too-many-HEAD-codes, and I just added my footer file, but I still have the same result.

    Thread Starter ara

    (@ara)

    It now will not let me post comments, I get this message:
    Warning: Invalid argument supplied for foreach() in /home/faithful/public_html/eyes/index.php on line 14
    On line 14 in my index.php file there is:
    <?php the_date(“d.m.y”,”<h2>”,”</h2>”); ?>

    I think you’ve hacked out too much of the WP code, yet left tags in there that require to WP code to display / work properly.
    In the default WP install, it’s very easy to put the column on the left, and also to put your own header in also.
    If the footer is the line with ‘Powered by’ in it, then the colour may not show up as it is not assigned to any tags to distinguish it from surrounding areas.
    If you want the tags, such as <cite> to work, you’ll need them defined either within your style declarations, or in a separate style sheet.

    Comments seem fine here ?

    Thread Starter ara

    (@ara)

    When I post comments, and I don’t quite get what your saying. I understand that I might have deleted something. Is there somewhere where I can get the most simplified template without all of the <html> tags and such? It would make editing the template much easier.

    look for wp.php in the orginal download 🙂

    Thread Starter ara

    (@ara)

    Thank you! I’ll try to work off of that. My comments work fine now, too. Thanks 🙂

    Thread Starter ara

    (@ara)

    It still won’t show anything passed the blog entries. I went through and simply added my code to their code, and the only thing I deleted was the title of the page…

    Thread Starter ara

    (@ara)

    I’ve checked the code and I can’t seem to find anything wrong with it. WP just won’t show anything past the “Powered By WordPress” thing after the blog entries. If you look at the source code, there is this after that:
    </table>
    <td></tr></table>
    </td>
    <td background=”side.jpg” width=”77px”></td>
    <tr>
    </table>
    </body>
    </html>
    But, it completely ignores it.

    Thread Starter ara

    (@ara)

    Nevermind, It was just some coding problems in my layout 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘WP won’t show my footer file’ is closed to new replies.