WordPress.org

Ready to get started?Download WordPress

Forums

Messed up Footer (2 posts)

  1. Rkool053
    Member
    Posted 3 years ago #

    I seemed to mess up my footer, I was in the Apperance Editor and was trying to add a banner on my footer. I first installed it at the body and tried moving it a little to the wp footer and now I get a Parse error: syntax error, unexpected
    wp-content/themes/twentyten/footer.php on line 48

    on my posts and pages, I tried to restore to an eariler date, but it did not make any difference. I will copy and include my settings from the editor. I want to put the footer back the way it was before I started all of this.
    Thanks, Ray

    /* Always have wp_footer() just before the closing </body>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to reference JavaScript files.
    */

    wp_footer()
    </body>
    </html>

  2. Justin Carroll
    Member
    Posted 3 years ago #

    On first look you need to write that wp_footer() function in it's proper PHP syntax. Your page should look something like this:

    <?php wp_footer(); ?>
    </body>
    </html>

    Hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Topic