WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/08/2019 07:05:53 PM (8 months ago)
Author:
desrosj
Message:

Bundled Themes: Update Twenty Twenty.

This brings trunk's version of Twenty Twenty in-sync with GitHub.

For a complete list of changes since [46357], see https://github.com/WordPress/twentytwenty/compare/7157870...7246fd6.

Props anlino, ianbelanger, poena, williampatton, nielslange, acosmin, netweb, joyusly, luminuu, itowhid06, cbravobernal, intimez, glauberglauber, ocean90, amolv, briceduclos, aristath, mukesh27, garrett-eclipse, audrasjb, afercia, dianeco, utsav72640, mahesh901122, tobifjellner.
See #48110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/inc/starter-content.php

    r46283 r46445  
    2323    $starter_content = array(
    2424        'widgets'   => array(
    25             // Place one core-defined widgets in the first tooter widget area.
     25            // Place one core-defined widgets in the first footer widget area.
    2626            'sidebar-1' => array(
    2727                'text_about',
    2828            ),
    29             // Place one core-defined widgets in the second tooter widget area.
     29            // Place one core-defined widgets in the second footer widget area.
    3030            'sidebar-2' => array(
    3131                'text_business_info',
     
    3535        // Specify the core-defined pages to create and add custom thumbnails to some of them.
    3636        'posts'     => array(
    37             'home',
     37            'front' => array(
     38                'post_type'    => 'page',
     39                'post_title'   => __( 'The New UMoMA Opens its Doors', 'twentytwenty' ),
     40                'post_content' => join(
     41                    '',
     42                    array(
     43                        '<!-- wp:group {"align":"wide"} -->',
     44                        '<div class="wp-block-group alignwide"><div class="wp-block-group__inner-container"><!-- wp:heading {"align":"center"} -->',
     45                        '<h2 class="has-text-align-center">' . __( 'The premier destination for modern art in Northern Sweden. Open from 10 AM to 6 PM every day during the summer months.', 'twentytwenty' ) . '</h2>',
     46                        '<!-- /wp:heading --></div></div>',
     47                        '<!-- /wp:group -->',
     48                        '<!-- wp:columns {"align":"wide"} -->',
     49                        '<div class="wp-block-columns alignwide"><!-- wp:column -->',
     50                        '<div class="wp-block-column"><!-- wp:group -->',
     51                        '<div class="wp-block-group"><div class="wp-block-group__inner-container">',
     52                        '<!-- wp:heading {"level":3} -->',
     53                        '<h3>' . __( 'Works and Days', 'twentytwenty' ) . '</h3>',
     54                        '<!-- /wp:heading -->',
     55                        '<!-- wp:paragraph -->',
     56                        '<p>' . __( 'August 1 -- December 1', 'twentytwenty' ) . '</p>',
     57                        '<!-- /wp:paragraph -->',
     58                        '<!-- wp:button {"className":"is-style-outline"} -->',
     59                        '<div class="wp-block-button is-style-outline"><a class="wp-block-button__link" href="https://make.wordpress.org/core/2019/09/27/block-editor-theme-related-updates-in-wordpress-5-3/">' . __( 'Read More', 'twentytwenty' ) . '</a></div>',
     60                        '<!-- /wp:button --></div></div>',
     61                        '<!-- /wp:group -->',
     62                        '<!-- wp:group -->',
     63                        '<div class="wp-block-group"><div class="wp-block-group__inner-container">',
     64                        '<!-- wp:heading {"level":3} -->',
     65                        '<h3>' . __( 'Theatre of Operations', 'twentytwenty' ) . '</h3>',
     66                        '<!-- /wp:heading -->',
     67                        '<!-- wp:paragraph -->',
     68                        '<p>' . __( 'October 1 -- December 1', 'twentytwenty' ) . '</p>',
     69                        '<!-- /wp:paragraph -->',
     70                        '<!-- wp:button {"className":"is-style-outline"} -->',
     71                        '<div class="wp-block-button is-style-outline"><a class="wp-block-button__link" href="https://make.wordpress.org/core/2019/09/27/block-editor-theme-related-updates-in-wordpress-5-3/">' . __( 'Read More', 'twentytwenty' ) . '</a></div>',
     72                        '<!-- /wp:button --></div></div>',
     73                        '<!-- /wp:group --></div>',
     74                        '<!-- /wp:column -->',
     75                        '<!-- wp:column -->',
     76                        '<div class="wp-block-column"><!-- wp:group -->',
     77                        '<div class="wp-block-group"><div class="wp-block-group__inner-container">',
     78                        '<!-- wp:heading {"level":3} -->',
     79                        '<h3>' . __( 'The Life I Deserve', 'twentytwenty' ) . '</h3>',
     80                        '<!-- /wp:heading -->',
     81                        '<!-- wp:paragraph -->',
     82                        '<p>' . __( 'August 1 -- December 1', 'twentytwenty' ) . '</p>',
     83                        '<!-- /wp:paragraph -->',
     84                        '<!-- wp:button {"className":"is-style-outline"} -->',
     85                        '<div class="wp-block-button is-style-outline"><a class="wp-block-button__link" href="https://make.wordpress.org/core/2019/09/27/block-editor-theme-related-updates-in-wordpress-5-3/">' . __( 'Read More', 'twentytwenty' ) . '</a></div>',
     86                        '<!-- /wp:button --></div></div>',
     87                        '<!-- /wp:group -->',
     88                        '<!-- wp:group -->',
     89                        '<div class="wp-block-group"><div class="wp-block-group__inner-container">',
     90                        '<!-- wp:heading {"level":3} -->',
     91                        '<h3>' . __( 'From Signac to Matisse', 'twentytwenty' ) . '</h3>',
     92                        '<!-- /wp:heading -->',
     93                        '<!-- wp:paragraph -->',
     94                        '<p>' . __( 'October 1 -- December 1', 'twentytwenty' ) . '</p>',
     95                        '<!-- /wp:paragraph -->',
     96                        '<!-- wp:button {"className":"is-style-outline"} -->',
     97                        '<div class="wp-block-button is-style-outline"><a class="wp-block-button__link" href="https://make.wordpress.org/core/2019/09/27/block-editor-theme-related-updates-in-wordpress-5-3/">' . __( 'Read More', 'twentytwenty' ) . '</a></div>',
     98                        '<!-- /wp:button --></div></div>',
     99                        '<!-- /wp:group --></div>',
     100                        '<!-- /wp:column --></div>',
     101                        '<!-- /wp:columns -->',
     102                        '<!-- wp:group {"align":"wide"} -->',
     103                        '<div class="wp-block-group alignwide"><div class="wp-block-group__inner-container"><!-- wp:heading {"align":"center","textColor":"accent"} -->',
     104                        '<h2 class="has-accent-color has-text-align-center">' . __( '”Cyborgs, as the philosopher Donna Haraway established, are not reverent. They do not remember the cosmos.”', 'twentytwenty' ) . '</h2>',
     105                        '<!-- /wp:heading --></div></div>',
     106                        '<!-- /wp:group -->',
     107                        '<!-- wp:paragraph {"dropCap":true} -->',
     108                        '<p class="has-drop-cap">' . __( 'With seven floors of striking architecture, UMoMA shows exhibitions of international contemporary art, sometimes along with art historical retrospectives. Existential, political and philosophical issues are intrinsic to our programme. As visitor you are invited to guided tours artist talks, lectures, film screenings and other events with free admission', 'twentytwenty' ) . '</p>',
     109                        '<!-- /wp:paragraph -->',
     110                        '<!-- wp:paragraph -->',
     111                        '<p>' . __( 'The exhibitions are produced by UMoMA in collaboration with artists and museums around the world and they often attract international attention. UMoMA has received a Special Commendation from the European Museum of the Year, and was among the top candidates for the Swedish Museum of the Year Award as well as for the Council of Europe Museum Prize.', 'twentytwenty' ) . '</p>',
     112                        '<!-- /wp:paragraph -->',
     113                        '<!-- wp:paragraph -->',
     114                        '<p></p>',
     115                        '<!-- /wp:paragraph -->',
     116                        '<!-- wp:group {"customBackgroundColor":"#ffffff","align":"wide"} -->',
     117                        '<div class="wp-block-group alignwide has-background" style="background-color:#ffffff"><div class="wp-block-group__inner-container"><!-- wp:group -->',
     118                        '<div class="wp-block-group"><div class="wp-block-group__inner-container"><!-- wp:heading {"align":"center"} -->',
     119                        '<h2 class="has-text-align-center">' . __( 'Become a Member and Get Exclusive Offers!', 'twentytwenty' ) . '</h2>',
     120                        '<!-- /wp:heading -->',
     121                        '<!-- wp:paragraph {"align":"center"} -->',
     122                        '<p class="has-text-align-center">' . __( 'Members get access to exclusive exhibits and sales. Our memberships cost $99.99 and are billed annually.', 'twentytwenty' ) . '</p>',
     123                        '<!-- /wp:paragraph -->',
     124                        '<!-- wp:button {"align":"center"} -->',
     125                        '<div class="wp-block-button aligncenter"><a class="wp-block-button__link" href="https://make.wordpress.org/core/2019/09/27/block-editor-theme-related-updates-in-wordpress-5-3/">' . __( 'Join the Club', 'twentytwenty' ) . '</a></div>',
     126                        '<!-- /wp:button --></div></div>',
     127                        '<!-- /wp:group --></div></div>',
     128                        '<!-- /wp:group -->',
     129                    )
     130                ),
     131            ),
    38132            'about',
    39133            'contact',
     
    44138        'options'   => array(
    45139            'show_on_front'  => 'page',
    46             'page_on_front'  => '{{home}}',
     140            'page_on_front'  => '{{front}}',
    47141            'page_for_posts' => '{{blog}}',
    48142        ),
Note: See TracChangeset for help on using the changeset viewer.