WordPress.org

Ready to get started?Download WordPress

Forums

Empty footer.php file (4 posts)

  1. pattiearnold
    Member
    Posted 6 years ago #

    Hello,

    I have installed a theme and want to change the foot code to add my info, etc., however, the footer.php files is empty. All it shows is:
    <?php

    ?>

    The page files all show: <?php get_footer(); ?>, so isn't this calling the footer.php file?

    How can stuff be in my footer if this file is empty?

    Regards
    Pattie

  2. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    Above the code in your file.
    Add
    <div id=footer>

    Then your code

    Then '</div>'

    Change original to
    '<?php wp_footer(); ?>

    Add at bottom
    '</body>
    </html>'

    That is what my footer looks like.

  3. pattiearnold
    Member
    Posted 6 years ago #

    I'm sorry I was not clear. My pages codes are all calling <?php get_footer(); ?> so that they will display a footer. They do display a footer, however, I would like to change that footer.

    So I go to the themes and edit the footer but all that is editable is:
    <?php

    ?>

    This does not make sense to me. Where is the information in the footer coming from other then the footer.php files?

  4. thesmu
    Member
    Posted 6 years ago #

    what looks like a footer on your blog may not necessarily be comming from the footer.php file. can you post a link to your site please?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.