Changeset 44298
- Timestamp:
- 12/18/2018 10:08:33 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
-
. (modified) (1 prop)
-
src/wp-content/themes/twentynineteen/archive.php (modified) (1 diff)
-
src/wp-content/themes/twentynineteen/functions.php (modified) (1 diff)
-
src/wp-content/themes/twentynineteen/header.php (modified) (1 diff)
-
src/wp-content/themes/twentynineteen/image.php (modified) (1 diff)
-
src/wp-content/themes/twentynineteen/inc/color-patterns.php (modified) (4 diffs)
-
src/wp-content/themes/twentynineteen/inc/customizer.php (modified) (2 diffs)
-
src/wp-content/themes/twentynineteen/inc/template-functions.php (modified) (2 diffs)
-
src/wp-content/themes/twentynineteen/inc/template-tags.php (modified) (2 diffs)
-
src/wp-content/themes/twentynineteen/index.php (modified) (1 diff)
-
src/wp-content/themes/twentynineteen/sass/navigation/_menu-social-navigation.scss (modified) (1 diff)
-
src/wp-content/themes/twentynineteen/style-rtl.css (modified) (1 diff)
-
src/wp-content/themes/twentynineteen/style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 44187
- Property svn:mergeinfo changed
-
trunk/src/wp-content/themes/twentynineteen/archive.php
r44149 r44298 21 21 <?php 22 22 the_archive_title( '<h1 class="page-title">', '</h1>' ); 23 // Remove for now @TODO24 // the_archive_description( '<div class="page-description">', '</div>' );25 23 ?> 26 24 </header><!-- .page-header --> -
trunk/src/wp-content/themes/twentynineteen/functions.php
r44149 r44298 264 264 require_once get_parent_theme_file_path( '/inc/color-patterns.php' ); 265 265 266 if ( 'default' === get_theme_mod( 'primary_color', 'default' ) ) { 267 $primary_color = 199; 268 } else { 269 $primary_color = absint( get_theme_mod( 'primary_color_hue', 199 ) ); 266 $primary_color = 199; 267 if ( 'default' !== get_theme_mod( 'primary_color', 'default' ) ) { 268 $primary_color = get_theme_mod( 'primary_color_hue', 199 ); 270 269 } 271 270 ?> 272 271 273 <style type="text/css" id="custom-theme-colors" <?php echo is_customize_preview() ? 'data-hue="' . $primary_color. '"' : ''; ?>>272 <style type="text/css" id="custom-theme-colors" <?php echo is_customize_preview() ? 'data-hue="' . absint( $primary_color ) . '"' : ''; ?>> 274 273 <?php echo twentynineteen_custom_colors_css(); ?> 275 274 </style> -
trunk/src/wp-content/themes/twentynineteen/header.php
r44149 r44298 32 32 <?php if ( is_singular() && twentynineteen_can_show_post_thumbnail() ) : ?> 33 33 <div class="site-featured-image"> 34 <?php twentynineteen_post_thumbnail(); ?> 35 <?php the_post(); ?> 36 <?php $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?> 37 <div class="<?php echo ( ! empty( $discussion ) && count( $discussion->responses ) > 0 ) ? 'entry-header has-discussion' : 'entry-header'; ?>"> 34 <?php 35 twentynineteen_post_thumbnail(); 36 the_post(); 37 $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; 38 39 $classes = 'entry-header'; 40 if ( ! empty( $discussion ) && count( $discussion->responses ) > 0 ) { 41 $classes = 'entry-header has-discussion'; 42 } 43 ?> 44 <div class="<?php echo $classes; ?>"> 38 45 <?php get_template_part( 'template-parts/header/entry', 'header' ); ?> 39 46 </div><!-- .entry-header --> -
trunk/src/wp-content/themes/twentynineteen/image.php
r44155 r44298 42 42 ?> 43 43 44 <figcaption class="wp-caption-text"><?php echo get_the_excerpt(); ?></figcaption>44 <figcaption class="wp-caption-text"><?php the_excerpt(); ?></figcaption> 45 45 46 46 </figure><!-- .entry-attachment --> -
trunk/src/wp-content/themes/twentynineteen/inc/color-patterns.php
r44155