Support » Fixing WordPress » Customizing Footer – Adding Copyright

  • Resolved proudtobedad

    (@proudtobedad)


    Hi there,

    Trying to modify my footer in Modularity Lite, to get rid of the “Theme… by…” and, instead, put in my copyright info.

    Under footer, I added this, but am still getting the original template info. Did I do this wrong, or is there somewhere else I need to do this? An override or something?
    ‘</div>
    <div class=”clear”></div>
    <p>Copyright &copy 2011 “><?php bloginfo(‘name’); ?>. All rights reserved.</p>
    <?php
    }’

    Any help would be appreciated. Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    edit footer.php of your theme;

    the ‘theme by’ is in there.

    Actually, that is where I cut the code about the theme and replaced with the above, but it still isn’t working. Any ideas?

    Michael

    (@alchymyth)

    Forum Moderator

    have you saved the edits?

    if you didn’t use the ‘appearance’ ‘editor’, have you uploaded the edited file?

    have you reloaded your page in the browser?

    Yes, I used Appearance, Editor to make the changes, then saved, then reloaded the page, but it is still not working, and the old text “Theme by…” is still on the page.

    I’m wondering if there is some kind of overall code somewhere besides the footer.php (maybe in the style sheet or something?) which needs to be changed.

    Michael

    (@alchymyth)

    Forum Moderator

    no – change the text in footer.php and it should change in your site.

    you wouldn’t be the first to edit some files in the wrong folder (many before you, me included, have done this as well)

    I’m stumped. I’ve edited it all in the footer.php, so don’t know where the problem could be.

    Do you see any issues in the code???

    ‘</div>
    <div class=”clear”></div>
    <p>Copyright &copy 2011 “><?php bloginfo(‘name’); ?>. All rights reserved.</p>
    <?php’

    I appreciate your help!

    Just got the following error message:

    Parse error: syntax error, unexpected ‘<‘ in /home/content/06/7700006/html/wp-content/themes/modularity-lite/footer.php on line 28

    Unfortunately, I’m not good with code so am not sure what it means! 🙂

    Michael

    (@alchymyth)

    Forum Moderator

    Parse error: syntax error, unexpected ‘<‘ in /home/content/06/7700006/html/wp-content/themes/modularity-lite/footer.php on line 28

    it menas that thte php parser came across a < which could either be the start of a php tag <?php although the current php tag was not closed, or the start of the html element, such as a <div.

    you may have accidentally forgotten to close a php tag, or closed one by mistake, or broken the code in any other way

    at least you know you are working on the right file 😉

    Thanks so much for your help!

    Seems to be solved now!

    (Now let’s see what other trouble I can get into!!!!)

    I appreciate your help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Customizing Footer – Adding Copyright’ is closed to new replies.