WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Customizing Footer - Adding Copyright (10 posts)

  1. proudtobedad
    Member
    Posted 3 years ago #

    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!

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    edit footer.php of your theme;

    the 'theme by' is in there.

  3. proudtobedad
    Member
    Posted 3 years ago #

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

  4. alchymyth
    Forum Moderator
    Posted 3 years ago #

    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?

  5. proudtobedad
    Member
    Posted 3 years ago #

    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.

  6. alchymyth
    Forum Moderator
    Posted 3 years ago #

    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)

  7. proudtobedad
    Member
    Posted 3 years ago #

    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!

  8. proudtobedad
    Member
    Posted 3 years ago #

    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! :)

  9. alchymyth
    Forum Moderator
    Posted 3 years ago #

    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 ;-)

  10. proudtobedad
    Member
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic