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

    [Please post code or markup snippets between backticks or use the code button.]

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ignore the error. The HTML5 specification is still in draft format and the corresponding validators is experimental.

    Thread Starter Sheilahrv

    (@sheilahrv)

    Thank you for your response…I was pulling my hair out trying to learn php and figure out what was wrong. I appreciate your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit footer in Twenty Ten’ is closed to new replies.