WordPress.org

Ready to get started?Download WordPress

Forums

Massive Footer mistakes (3 posts)

  1. rachelnislick
    Member
    Posted 3 years ago #

    Hi all. I am a n00b and have been managing along ok until I did something massively wrong to my footer in footer.php. So two things: 1) I need to get it back working the way it looked before (which was only partially messed up) and 2) I was trying to figure out how to add the company address and so forth into the footer.

    Here is the area from footer.php that is completely messed up and I need help correcting.

    The site is hidden - I'm not sure if you can access it without being invited but it's at

    http://goodmanllc.dreamhosters.com/

    ----------
    [please mark the code using the 'code' button, to keep it readable]

    <div id="footer-bottom">
    <?php
    $credits = '<div id="site-info"> '. get_bloginfo( 'name' ) .'</div>

    <div id="site-generator">   •  </div>;

    echo apply_filters( 'absolum_credits', (string) $credits );
    absolum_footer_hook(); ?>
    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

  2. rachelnislick
    Member
    Posted 3 years ago #

    I should also add that I am getting this error:

    <b>Parse error</b>: syntax error, unexpected '?' in <b>/home/rachelnislick/goodmanllc.com/wp-content/themes/absolum/footer.php</b> on line <b>11</b>

  3. keesiemeijer
    moderator
    Posted 3 years ago #

    Try it with this:

    <div id="footer-bottom">
    <?php
    $credits = '<div id="site-info"> '. get_bloginfo( 'name' ) .'</div><div id="site-generator">   •  </div>';
    echo apply_filters( 'absolum_credits', (string) $credits );
    absolum_footer_hook(); ?>
    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

Topic Closed

This topic has been closed to new replies.

About this Topic