- Timestamp:
- 10/09/2013 08:38:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentythirteen/functions.php
r25522 r25746 24 24 */ 25 25 26 /* *26 /* 27 27 * Set up the content width value based on the theme's design. 28 28 * … … 61 61 */ 62 62 function twentythirteen_setup() { 63 /* *63 /* 64 64 * Makes Twenty Thirteen available for translation. 65 65 * … … 71 71 load_theme_textdomain( 'twentythirteen', get_template_directory() . '/languages' ); 72 72 73 /* *73 /* 74 74 * This theme styles the visual editor to resemble the theme style, 75 75 * specifically font, colors, icons, and column width. … … 80 80 add_theme_support( 'automatic-feed-links' ); 81 81 82 /* *82 /* 83 83 * Switches default core markup for search form, comment form, 84 84 * and comments to output valid HTML5. … … 86 86 add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) ); 87 87 88 /* *88 /* 89 89 * This theme supports all available post formats by default. 90 90 * See http://codex.wordpress.org/Post_Formats … … 97 97 register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) ); 98 98 99 /* *99 /* 100 100 * This theme uses a custom image size for featured images, displayed on 101 101 * "standard" posts and pages. … … 122 122 $fonts_url = ''; 123 123 124 /* *124 /* 125 125 * Translators: If there are characters in your language that are not 126 126 * supported by Source Sans Pro, translate this to 'off'. Do not translate … … 129 129 $source_sans_pro = _x( 'on', 'Source Sans Pro font: on or off', 'twentythirteen' ); 130 130 131 /* *131 /* 132 132 * Translators: If there are characters in your language that are not 133 133 * supported by Bitter, translate this to 'off'. Do not translate into your … … 163 163 */ 164 164 function twentythirteen_scripts_styles() { 165 /* *165 /* 166 166 * Adds JavaScript to pages with the comment form to support 167 167 * sites with threaded comments (when in use). … … 414 414 $post = get_post(); 415 415 416 /* *416 /* 417 417 * Grab the IDs of all the image attachments in a gallery so we can get the URL 418 418 * of the next adjacent image in a gallery, or the first image (if we're
Note: See TracChangeset
for help on using the changeset viewer.