Ticket #14799: back-link-dre-v1.patch
| File back-link-dre-v1.patch, 2.4 KB (added by dremeda, 2 years ago) |
|---|
-
wp-content/themes/twentyten/footer.php
25 25 <div id="site-info"> 26 26 <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> 27 27 <?php bloginfo( 'name' ); ?> 28 </a> 28 </a> - 29 <a id="back-link" href="#site-title" title="<?php esc_attr_e( 'Back to Top', 'twentyten' ); ?>"> 30 <?php _e( 'Back to Top <span class="meta-nav">↑</span> ', 'twentyten' ); ?> 31 </a><!-- #back-link --> 29 32 </div><!-- #site-info --> 30 33 31 34 <div id="site-generator"> 32 35 <?php do_action( 'twentyten_credits' ); ?> 33 <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> 34 </div><!-- #site-generator --> 36 <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyten' ) ); ?>" title="<?php esc_attr_e('Semantic Personal Publishing Platform', 'twentyten'); ?>" rel="generator"> 37 <?php printf( __('Proudly powered by %s.', 'twentyten'), 'WordPress' ); ?> 38 </a> 39 </div><!-- #site-generator --> 40 41 42 </div><!-- #colophon --> 43 44 45 </div><!-- #footer --> 35 46 36 </div><!-- #colophon --> 37 </div><!-- #footer --> 47 </div><!-- #wrapper --> 38 48 39 </div><!-- #wrapper -->40 41 49 <?php 42 50 /* Always have wp_footer() just before the closing </body> 43 51 * tag of your theme, or you will break many plugins, which -
wp-content/themes/twentyten/style.css
1214 1214 #footer { 1215 1215 margin-bottom: 20px; 1216 1216 } 1217 #site-info a#back-link{ 1218 color: #888888; 1219 font-size: 12px; 1220 font-weight: normal; 1221 background:none; 1222 } 1223 #site-info a#back-link:hover { 1224 text-decoration: underline; 1225 } 1217 1226 #colophon { 1218 1227 border-top: 4px solid #000; 1219 1228 margin-top: -4px;
