WordPress.org

Make WordPress Themes


Ignore:
Location:
twentyseventeen/1.1
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • twentyseventeen/1.1/README.txt

    r80573 r80573  
    33Requires at least: WordPress 4.7 
    44Tested up to: WordPress 4.7 
    5 Version: 1.2 
     5Version: 1.1 
    66License: GPLv2 or later 
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    6161== Changelog == 
    6262 
    63 = 1.2 = 
    64 * Released: April 18, 2017 
    65  
    66 https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.2 
    67  
    6863= 1.1 = 
    6964* Released: January 6, 2017 
    7065 
    71 https://codex.wordpress.org/Twenty_Seventeen_Theme_Changelog#Version_1.1 
     66- Fix incorrect $content_width value in theme 
     67- Ensure functions in customize-controls.js don't count on Customizer sections always being present 
     68- Deprecate page_home nav menu item starter content 
     69- Introduce a theme-specific filter twentyseventeen_starter_content for customizing the starter content array 
    7270 
    7371= 1.0 = 
  • twentyseventeen/1.1/footer.php

    r80573 r80573  
    1010 * @subpackage Twenty_Seventeen 
    1111 * @since 1.0 
    12  * @version 1.2 
     12 * @version 1.0 
    1313 */ 
    1414 
     
    2323 
    2424                if ( has_nav_menu( 'social' ) ) : ?> 
    25                     <nav class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Social Links Menu', 'twentyseventeen' ); ?>"> 
     25                    <nav class="social-navigation" role="navigation" aria-label="<?php _e( 'Footer Social Links Menu', 'twentyseventeen' ); ?>"> 
    2626                        <?php 
    2727                            wp_nav_menu( array( 
  • twentyseventeen/1.1/functions.php

    r80573 r80573  
    441441 
    442442    if ( has_nav_menu( 'top' ) ) { 
    443         wp_enqueue_script( 'twentyseventeen-navigation', get_theme_file_uri( '/assets/js/navigation.js' ), array( 'jquery' ), '1.0', true ); 
     443        wp_enqueue_script( 'twentyseventeen-navigation', get_theme_file_uri( '/assets/js/navigation.js' ), array(), '1.0', true ); 
    444444        $twentyseventeen_l10n['expand']         = __( 'Expand child menu', 'twentyseventeen' ); 
    445445        $twentyseventeen_l10n['collapse']       = __( 'Collapse child menu', 'twentyseventeen' ); 
  • twentyseventeen/1.1/style.css

    r80573 r80573  
    55Author URI: https://wordpress.org/ 
    66Description: Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device. 
    7 Version: 1.2 
     7Version: 1.1 
    88License: GNU General Public License v2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    452452} 
    453453 
    454 h2, 
    455 .home.blog .entry-title { 
     454h2 { 
    456455    color: #666; 
    457456    font-size: 20px; 
     
    31473146 
    31483147    h2, 
    3149     .home.blog .entry-title, 
    31503148    .page .panel-content .recent-posts .entry-title { 
    31513149        font-size: 26px; 
  • twentyseventeen/1.1/template-parts/navigation/navigation-top.php

    r80573 r80573  
    66 * @subpackage Twenty_Seventeen 
    77 * @since 1.0 
    8  * @version 1.2 
     8 * @version 1.0 
    99 */ 
    1010 
    1111?> 
    12 <nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Top Menu', 'twentyseventeen' ); ?>"> 
     12<nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php _e( 'Top Menu', 'twentyseventeen' ); ?>"> 
    1313    <button class="menu-toggle" aria-controls="top-menu" aria-expanded="false"><?php echo twentyseventeen_get_svg( array( 'icon' => 'bars' ) ); echo twentyseventeen_get_svg( array( 'icon' => 'close' ) ); _e( 'Menu', 'twentyseventeen' ); ?></button> 
    1414    <?php wp_nav_menu( array( 
  • twentyseventeen/1.1/template-parts/post/content-audio.php

    r80573 r80573  
    88 * @subpackage Twenty_Seventeen 
    99 * @since 1.0 
    10  * @version 1.2 
     10 * @version 1.0 
    1111 */ 
    1212 
     
    3434            if ( is_single() ) { 
    3535                the_title( '<h1 class="entry-title">', '</h1>' ); 
    36             } elseif ( is_front_page() && is_home() ) { 
    37                 the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); 
    3836            } else { 
    3937                the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 
  • twentyseventeen/1.1/template-parts/post/content-excerpt.php

    r80573 r80573  
    1010 * @subpackage Twenty_Seventeen 
    1111 * @since 1.0 
    12  * @version 1.2 
     12 * @version 1.0 
    1313 */ 
    1414 
     
    3131        <?php endif; ?> 
    3232 
    33         <?php if ( is_front_page() && ! is_home() ) { 
    34  
    35             // The excerpt is being displayed within a front page section, so it's a lower hierarchy than h2. 
    36             the_title( sprintf( '<h3 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h3>' ); 
    37         } else { 
    38             the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); 
    39         } ?> 
     33        <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?> 
    4034    </header><!-- .entry-header --> 
    4135 
  • twentyseventeen/1.1/template-parts/post/content-gallery.php

    r80573 r80573  
    88 * @subpackage Twenty_Seventeen 
    99 * @since 1.0 
    10  * @version 1.2 
     10 * @version 1.0 
    1111 */ 
    1212?> 
     
    3333            if ( is_single() ) { 
    3434                the_title( '<h1 class="entry-title">', '</h1>' ); 
    35             } elseif ( is_front_page() && is_home() ) { 
    36                 the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); 
    3735            } else { 
    3836                the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 
  • twentyseventeen/1.1/template-parts/post/content-image.php

    r80573 r80573  
    88 * @subpackage Twenty_Seventeen 
    99 * @since 1.0 
    10  * @version 1.2 
     10 * @version 1.0 
    1111 */ 
    1212?> 
     
    3333            if ( is_single() ) { 
    3434                the_title( '<h1 class="entry-title">', '</h1>' ); 
    35             } elseif ( is_front_page() && is_home() ) { 
    36                 the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); 
    3735            } else { 
    3836                the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 
  • twentyseventeen/1.1/template-parts/post/content-video.php

    r80573 r80573  
    88 * @subpackage Twenty_Seventeen 
    99 * @since 1.0 
    10  * @version 1.2 
     10 * @version 1.0 
    1111 */ 
    1212?> 
     
    3333            if ( is_single() ) { 
    3434                the_title( '<h1 class="entry-title">', '</h1>' ); 
    35             } elseif ( is_front_page() && is_home() ) { 
    36                 the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); 
    3735            } else { 
    3836                the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 
  • twentyseventeen/1.1/template-parts/post/content.php

    r80573 r80573  
    88 * @subpackage Twenty_Seventeen 
    99 * @since 1.0 
    10  * @version 1.2 
     10 * @version 1.0 
    1111 */ 
    1212 
     
    3434            if ( is_single() ) { 
    3535                the_title( '<h1 class="entry-title">', '</h1>' ); 
    36             } elseif ( is_front_page() && is_home() ) { 
    37                 the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); 
    3836            } else { 
    3937                the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); 
Note: See TracChangeset for help on using the changeset viewer.