Ticket #27115: 27115-twenty-eleven.patch
File 27115-twenty-eleven.patch, 8.2 KB (added by , 10 years ago) |
---|
-
src/wp-content/themes/twentyeleven/archive.php
5 5 * Used to display archive-type pages if nothing more specific matches a query. 6 6 * For example, puts together date-based pages if no date.php file exists. 7 7 * 8 * @link http ://codex.wordpress.org/Template_Hierarchy8 * @link https://codex.wordpress.org/Template_Hierarchy 9 9 * 10 10 * @package WordPress 11 11 * @subpackage Twenty_Eleven … … 69 69 </section><!-- #primary --> 70 70 71 71 <?php get_sidebar(); ?> 72 <?php get_footer(); ?> 73 No newline at end of file 72 <?php get_footer(); ?> -
src/wp-content/themes/twentyeleven/content-aside.php
4 4 * 5 5 * Used on index and archive pages. 6 6 * 7 * @link http ://codex.wordpress.org/Post_Formats7 * @link https://codex.wordpress.org/Post_Formats 8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Eleven -
src/wp-content/themes/twentyeleven/content-gallery.php
4 4 * 5 5 * Used on index and archive pages. 6 6 * 7 * @link http ://codex.wordpress.org/Post_Formats7 * @link https://codex.wordpress.org/Post_Formats 8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Eleven -
src/wp-content/themes/twentyeleven/content-image.php
4 4 * 5 5 * Used on index and archive pages. 6 6 * 7 * @link http ://codex.wordpress.org/Post_Formats7 * @link https://codex.wordpress.org/Post_Formats 8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Eleven -
src/wp-content/themes/twentyeleven/content-link.php
4 4 * 5 5 * Used on index and archive pages 6 6 * 7 * @link http ://codex.wordpress.org/Post_Formats7 * @link https://codex.wordpress.org/Post_Formats 8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Eleven -
src/wp-content/themes/twentyeleven/content-status.php
4 4 * 5 5 * Used on index and archive pages 6 6 * 7 * @link http ://codex.wordpress.org/Post_Formats7 * @link https://codex.wordpress.org/Post_Formats 8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Eleven -
src/wp-content/themes/twentyeleven/functions.php
9 9 * The first function, twentyeleven_setup(), sets up the theme by registering support 10 10 * for various features in WordPress, such as post thumbnails, navigation menus, and the like. 11 11 * 12 * When using a child theme (see http ://codex.wordpress.org/Theme_Development and13 * http ://codex.wordpress.org/Child_Themes), you can override certain functions12 * When using a child theme (see https://codex.wordpress.org/Theme_Development and 13 * https://codex.wordpress.org/Child_Themes), you can override certain functions 14 14 * (those wrapped in a function_exists() call) by defining them first in your child theme's 15 15 * functions.php file. The child theme's functions.php file is included before the parent 16 16 * theme's file, so the child theme functions would be used. … … 31 31 * } 32 32 * </code> 33 33 * 34 * For more information on hooks, actions, and filters, see http ://codex.wordpress.org/Plugin_API.34 * For more information on hooks, actions, and filters, see https://codex.wordpress.org/Plugin_API. 35 35 * 36 36 * @package WordPress 37 37 * @subpackage Twenty_Eleven -
src/wp-content/themes/twentyeleven/inc/theme-options.php
117 117 '<p>' . __( 'Remember to click "Save Changes" to save any changes you have made to the theme options.', 'twentyeleven' ) . '</p>'; 118 118 119 119 $sidebar = '<p><strong>' . __( 'For more information:', 'twentyeleven' ) . '</strong></p>' . 120 '<p>' . __( '<a href="http ://codex.wordpress.org/Appearance_Theme_Options_Screen" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' .121 '<p>' . __( '<a href="http ://wordpress.org/support/" target="_blank">Support Forums</a>', 'twentyeleven' ) . '</p>';120 '<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Theme_Options_Screen" target="_blank">Documentation on Theme Options</a>', 'twentyeleven' ) . '</p>' . 121 '<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>', 'twentyeleven' ) . '</p>'; 122 122 123 123 $screen = get_current_screen(); 124 124 … … 583 583 function twentyeleven_customize_preview_js() { 584 584 wp_enqueue_script( 'twentyeleven-customizer', get_template_directory_uri() . '/inc/theme-customizer.js', array( 'customize-preview' ), '20120523', true ); 585 585 } 586 add_action( 'customize_preview_init', 'twentyeleven_customize_preview_js' ); 587 No newline at end of file 586 add_action( 'customize_preview_init', 'twentyeleven_customize_preview_js' ); -
src/wp-content/themes/twentyeleven/inc/widgets.php
4 4 * 5 5 * Handles displaying Aside, Link, Status, and Quote Posts available with Twenty Eleven. 6 6 * 7 * @link http ://codex.wordpress.org/Widgets_API#Developing_Widgets7 * @link https://codex.wordpress.org/Widgets_API#Developing_Widgets 8 8 * 9 9 * @package WordPress 10 10 * @subpackage Twenty_Eleven … … 171 171 <input id="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'number' ) ); ?>" type="text" value="<?php echo esc_attr( $number ); ?>" size="3" /></p> 172 172 <?php 173 173 } 174 } 175 No newline at end of file 174 } -
src/wp-content/themes/twentyeleven/index.php
6 6 * and one of the two required files for a theme (the other being style.css). 7 7 * It is used to display a page when nothing more specific matches a query. 8 8 * E.g., it puts together the home page when no home.php file exists. 9 * Learn more: http ://codex.wordpress.org/Template_Hierarchy9 * Learn more: https://codex.wordpress.org/Template_Hierarchy 10 10 * 11 11 * @package WordPress 12 12 * @subpackage Twenty_Eleven … … 49 49 </div><!-- #primary --> 50 50 51 51 <?php get_sidebar(); ?> 52 <?php get_footer(); ?> 53 No newline at end of file 52 <?php get_footer(); ?> -
src/wp-content/themes/twentyeleven/rtl.css
5 5 it's just a matter of overwriting all the horizontal positioning attributes 6 6 of your CSS stylesheet in a separate stylesheet file named rtl.css. 7 7 8 http ://codex.wordpress.org/Right_to_Left_Language_Support8 https://codex.wordpress.org/Right_to_Left_Language_Support 9 9 10 10 */ 11 11