WordPress.org

Ready to get started?Download WordPress

Forums

WP won't show my footer file (12 posts)

  1. ara
    Member
    Posted 10 years ago #

    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?

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    You seem to have 2 HEAD tags too many, and I can't see where the footer is in the code ?

  3. ara
    Member
    Posted 10 years ago #

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

  4. ara
    Member
    Posted 10 years ago #

    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>"); ?>

  5. Mark (podz)
    Support Maven
    Posted 10 years ago #

    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.

  6. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Comments seem fine here ?

  7. ara
    Member
    Posted 10 years ago #

    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.

  8. Mark (podz)
    Support Maven
    Posted 10 years ago #

    look for wp.php in the orginal download :)

  9. ara
    Member
    Posted 10 years ago #

    Thank you! I'll try to work off of that. My comments work fine now, too. Thanks :)

  10. ara
    Member
    Posted 10 years ago #

    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...

  11. ara
    Member
    Posted 10 years ago #

    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.

  12. ara
    Member
    Posted 10 years ago #

    Nevermind, It was just some coding problems in my layout :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.