Support » Fixing WordPress » Massive Footer mistakes

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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>

    Moderator keesiemeijer

    (@keesiemeijer)

    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>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Massive Footer mistakes’ is closed to new replies.