Edit footer in Twenty Ten
-
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: https://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( __( 'https://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.
- The topic ‘Edit footer in Twenty Ten’ is closed to new replies.