Make WordPress Core


Ignore:
Timestamp:
10/30/2018 02:13:07 AM (7 years ago)
Author:
allancole
Message:

Importing Twenty Nineteen, our new default theme for 2019, set for 5.0.

Let Gutenberg shine with this simple, fast, and powerful theme. Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, aaronjorbin, netweb, b-07, khleomix, blowery, dereksmart, jasmussen, audrasjb, nielslange, mmaumio, dimadin, joyously, anevins12, peterwilsoncc, dannycooper, icaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, icaleb, grapplerulrich, ocean90, joshfeck, frankew, abdulwahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/template-parts/content/content-page.php

    r43808 r43842  
    77 * @package WordPress
    88 * @subpackage Twenty_Nineteen
     9 * @since 1.0.0
    910 */
    1011
     
    1213
    1314<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
     15    <?php if ( ! twentynineteen_can_show_post_thumbnail() ) : ?>
    1416    <header class="entry-header">
    15         <?php
    16         if ( ! twentynineteen_can_show_post_thumbnail() ) {
    17         get_template_part( 'template-parts/header/entry', 'header' );}
    18         ?>
     17        <?php get_template_part( 'template-parts/header/entry', 'header' ); ?>
    1918    </header>
     19    <?php endif; ?>
    2020
    2121    <div class="entry-content">
Note: See TracChangeset for help on using the changeset viewer.