WordPress.org

Ready to get started?Download WordPress

Forums

Edit Footer.php (18 posts)

  1. indra7x
    Member
    Posted 3 years ago #

    can we edit footer of themes to erase "powered by wordpress" and another link to wordpress?

  2. Samuel B
    moderator
    Posted 3 years ago #

    sure - in most themes
    some themes not here at wordpress.org use functions to kill your site if footer links are removed, though

    which theme do you use?

  3. indra7x
    Member
    Posted 3 years ago #

    i'm using twentyten theme in my blog and i want to edit the footer.php

  4. Shannon Smith
    Member
    Posted 3 years ago #

    In footer.php, remove the following:

    <div id="site-generator">
    				<?php do_action( 'twentyten_credits' ); ?>
    				<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyten' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?></a>
    			</div><!-- #site-generator -->
  5. indra7x
    Member
    Posted 3 years ago #

    does edit twentyten theme footer.php violate the rules of wordpress? if we violate the rules, what sanctions we get?

  6. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    does edit twentyten theme footer.php violate the rules of wordpress? if we violate the rules, what sanctions we get?

    WordPress and the TwentyTen Theme are licensed under GPL. You are completely free to modify them in any way you so choose.

    Though, I would recommend that you NOT change the TwentyTen Theme directly, but rather create a Child Theme to contain your changes. That way, when WordPress/TwentyTen are updated, your modifications are retained after the update.

  7. Shannon Smith
    Member
    Posted 3 years ago #

    This is not against the rules. Twenty Ten is a free theme licensed under GPLv2. You can modify it however you like.

    But it's a good idea, if you are going to modify it, to make a copy of the entire theme and rename it, so that your changes are not over written the next time you upgrade WordPress.

  8. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    But it's a good idea, if you are going to modify it, to make a copy of the entire theme and rename it, so that your changes are not over written the next time you upgrade WordPress.

    Actually, that's not really a great idea. Better, for making such a minor change, would be to create a Child Theme.

  9. paulap
    Member
    Posted 3 years ago #

    I'm having the same issue but can't fix it with the suggestions noted above. I'm using the Code Blue 1.01 theme on one of my sites and cannot figure out how to change the footer to remove the WordPress note as well as another link out to another site. It has a script with a base64_decode in it. Is it possible?

    If not, does anyone have any suggestions on a good theme that will be easy to use and make changes to? Many thanks for any help or suggestions!!

  10. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    I'm using the Code Blue 1.01 theme on one of my sites and cannot figure out how to change the footer to remove the WordPress note as well as another link out to another site. It has a script with a base64_decode in it. Is it possible?

    Where did you get your Theme? Wherever it is, don't ever get Themes from there, ever again. Seriously, only download WordPress Themes from trusted sources.

    Are you using "Revolution Code Blue"? If so, get a clean copy from the WordPress.org Theme Repository.

  11. paulap
    Member
    Posted 3 years ago #

    Thanks Chip. I promise to never to it again. :) I just installed the free copy and will try to work with it to make the changes. Thanks for the advice.

  12. lamuSudip
    Member
    Posted 3 years ago #

    I'm using Newsplus theme.But there is problem of edit footer.php.
    Help me!

  13. Ayal007
    Member
    Posted 3 years ago #

    Anyone knows how to edit the footer.php code in Zinmag Remedy theme?

  14. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    @lamuSudip and @Ayal007

    You need to start your own topics. Your issues are separate from the OP's.

  15. lamuSudip
    Member
    Posted 3 years ago #

    Thanks for reply me.I solve my problem.

  16. Sheilahrv
    Member
    Posted 2 years ago #

    I am trying to edit the footer.php in Twenty Ten to replace the "proudly powered by...". I changed it and it looks fine, but I am getting a W3.org validation error. I'm not familiar with PHP. Can you help me fix there error?
    Site: http://www.saravaron.net
    The code I am using in the Child theme php is:

    <div id="site-generator">
    <?php do_action( 'twentyten_credits' ); ?>
    <a href="<?php echo esc_url( __( 'http://sheilahvaron.com/' ) );
     ?>" title="<?php esc_attr_e( 'SheilahVaron.com'); ?>"
    rel="generator"><?php printf( __( 'Site created by Sheilah Varon'), 'WordPress' ); ?>
    </div><!-- #site-generator -->

    The W3.org validation error message is:

    4. Line 190, Column 84: Bad value generator for attribute rel on element a: Keyword generator is not registered.
    …om/" title="SheilahVaron.com" rel="generator">Site created by Sheilah Varon
    Syntax of link type valid for and <area>:
    A whitespace-separated list of link types listed as allowed on
    and <area> in the HTML specification or listed as an allowed on and <area> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself.

  17. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    @Sheilahrv:

    Start your own topic. Your issue has nothing to do with the OP, and thread hijacking is considered to be incredibly inconsiderate.

  18. Sheilahrv
    Member
    Posted 2 years ago #

    Since the topic was edited the footer.php, I thought that I fit the topic. Will look for another place.

Topic Closed

This topic has been closed to new replies.

About this Topic