WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/14/2018 02:32:33 AM (16 months ago)
Author:
pento
Message:

Default Themes: Import Twenty Nineteen from the 5.0 branch.

Merges [43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963] from the 5.0 branch to trunk.

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, jorbin, netweb, b-07, khleomix, audrasjb, nielslange, mmaumio, richsalvucci, littlebigthing, dimadin, joyously, anevins, peterwilsoncc, dannycooper, iCaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, grapplerulrich, ocean90, joshfeck, frankew, AbdulWahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart, nao, mayukojpn, enodekciw, ketuchetan, atanasangelovdev, poena, sharaz, artisticasad, mukesh27, burhandodhy, crunnells, aprakasa, themeroots, imonly_ik, tlxo, youthkee, brentswisher, smyoon315, mrahmadawais, desideveloper, Kau-Boy, mor10, mikeyarce, dingo_bastard, xkon, twoabove.

Fixes #45424.

Location:
trunk
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/wp-content/themes/twentynineteen/archive.php

    r43808 r44149  
    77 * @package WordPress
    88 * @subpackage Twenty_Nineteen
     9 * @since 1.0.0
    910 */
    1011
     
    1213?>
    1314
    14     <div id="primary" class="content-area">
     15    <section id="primary" class="content-area">
    1516        <main id="main" class="site-main">
    1617
     
    2021                <?php
    2122                    the_archive_title( '<h1 class="page-title">', '</h1>' );
    22                     the_archive_description( '<div class="page-description">', '</div>' );
     23                    // Remove for now @TODO
     24                    // the_archive_description( '<div class="page-description">', '</div>' );
    2325                ?>
    2426            </header><!-- .page-header -->
     
    3436                 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    3537                 */
    36                 get_template_part( 'template-parts/content/content' );
     38                get_template_part( 'template-parts/content/content', 'excerpt' );
    3739
    3840                // End the loop.
     
    4446            // If no content, include the "No posts found" template.
    4547        else :
    46             get_template_part( 'template-parts/content', 'none' );
     48            get_template_part( 'template-parts/content/content', 'none' );
    4749
    4850        endif;
    4951        ?>
    50 
    51         </main><!-- .site-main -->
    52     </div><!-- .content-area -->
     52        </main><!-- #main -->
     53    </section><!-- #primary -->
    5354
    5455<?php
Note: See TracChangeset for help on using the changeset viewer.