Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
< ? php
/**
* Twenty Twenty Starter Content
*
* @ link https :// make . wordpress . org / core / 2016 / 11 / 30 / starter - content - for - themes - in - 4 - 7 /
*
* @ package WordPress
* @ subpackage Twenty_Twenty
* @ since 1.0 . 0
*/
/**
* Function to return the array of starter content for the theme .
*
* Passes it through the `twentytwenty_starter_content` filter before returning .
*
* @ since Twenty Twenty 1.0 . 0
* @ return array a filtered array of args for the starter_content .
*/
function twentytwenty_get_starter_content () {
// Define and register starter content to showcase the theme on new sites.
$starter_content = array (
'widgets' => array (
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.
Built from https://develop.svn.wordpress.org/trunk@46445
git-svn-id: http://core.svn.wordpress.org/trunk@46243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-08 15:08:07 -04:00
// Place one core-defined widgets in the first footer widget area.
2019-09-23 19:17:58 -04:00
'sidebar-1' => array (
Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
'text_about' ,
),
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.
Built from https://develop.svn.wordpress.org/trunk@46445
git-svn-id: http://core.svn.wordpress.org/trunk@46243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-08 15:08:07 -04:00
// Place one core-defined widgets in the second footer widget area.
2019-09-23 19:17:58 -04:00
'sidebar-2' => array (
Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
'text_business_info' ,
),
),
// Specify the core-defined pages to create and add custom thumbnails to some of them.
'posts' => array (
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.
Built from https://develop.svn.wordpress.org/trunk@46445
git-svn-id: http://core.svn.wordpress.org/trunk@46243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-08 15:08:07 -04:00
'front' => array (
'post_type' => 'page' ,
'post_title' => __ ( 'The New UMoMA Opens its Doors' , 'twentytwenty' ),
'post_content' => join (
'' ,
array (
'<!-- wp:group {"align":"wide"} -->' ,
'<div class="wp-block-group alignwide"><div class="wp-block-group__inner-container"><!-- wp:heading {"align":"center"} -->' ,
'<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>' ,
'<!-- /wp:heading --></div></div>' ,
'<!-- /wp:group -->' ,
'<!-- wp:columns {"align":"wide"} -->' ,
'<div class="wp-block-columns alignwide"><!-- wp:column -->' ,
'<div class="wp-block-column"><!-- wp:group -->' ,
'<div class="wp-block-group"><div class="wp-block-group__inner-container">' ,
'<!-- wp:heading {"level":3} -->' ,
'<h3>' . __ ( 'Works and Days' , 'twentytwenty' ) . '</h3>' ,
'<!-- /wp:heading -->' ,
'<!-- wp:paragraph -->' ,
'<p>' . __ ( 'August 1 -- December 1' , 'twentytwenty' ) . '</p>' ,
'<!-- /wp:paragraph -->' ,
'<!-- wp:button {"className":"is-style-outline"} -->' ,
'<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>' ,
'<!-- /wp:button --></div></div>' ,
'<!-- /wp:group -->' ,
'<!-- wp:group -->' ,
'<div class="wp-block-group"><div class="wp-block-group__inner-container">' ,
'<!-- wp:heading {"level":3} -->' ,
'<h3>' . __ ( 'Theatre of Operations' , 'twentytwenty' ) . '</h3>' ,
'<!-- /wp:heading -->' ,
'<!-- wp:paragraph -->' ,
'<p>' . __ ( 'October 1 -- December 1' , 'twentytwenty' ) . '</p>' ,
'<!-- /wp:paragraph -->' ,
'<!-- wp:button {"className":"is-style-outline"} -->' ,
'<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>' ,
'<!-- /wp:button --></div></div>' ,
'<!-- /wp:group --></div>' ,
'<!-- /wp:column -->' ,
'<!-- wp:column -->' ,
'<div class="wp-block-column"><!-- wp:group -->' ,
'<div class="wp-block-group"><div class="wp-block-group__inner-container">' ,
'<!-- wp:heading {"level":3} -->' ,
'<h3>' . __ ( 'The Life I Deserve' , 'twentytwenty' ) . '</h3>' ,
'<!-- /wp:heading -->' ,
'<!-- wp:paragraph -->' ,
'<p>' . __ ( 'August 1 -- December 1' , 'twentytwenty' ) . '</p>' ,
'<!-- /wp:paragraph -->' ,
'<!-- wp:button {"className":"is-style-outline"} -->' ,
'<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>' ,
'<!-- /wp:button --></div></div>' ,
'<!-- /wp:group -->' ,
'<!-- wp:group -->' ,
'<div class="wp-block-group"><div class="wp-block-group__inner-container">' ,
'<!-- wp:heading {"level":3} -->' ,
'<h3>' . __ ( 'From Signac to Matisse' , 'twentytwenty' ) . '</h3>' ,
'<!-- /wp:heading -->' ,
'<!-- wp:paragraph -->' ,
'<p>' . __ ( 'October 1 -- December 1' , 'twentytwenty' ) . '</p>' ,
'<!-- /wp:paragraph -->' ,
'<!-- wp:button {"className":"is-style-outline"} -->' ,
'<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>' ,
'<!-- /wp:button --></div></div>' ,
'<!-- /wp:group --></div>' ,
'<!-- /wp:column --></div>' ,
'<!-- /wp:columns -->' ,
'<!-- wp:group {"align":"wide"} -->' ,
'<div class="wp-block-group alignwide"><div class="wp-block-group__inner-container"><!-- wp:heading {"align":"center","textColor":"accent"} -->' ,
'<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>' ,
'<!-- /wp:heading --></div></div>' ,
'<!-- /wp:group -->' ,
'<!-- wp:paragraph {"dropCap":true} -->' ,
'<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>' ,
'<!-- /wp:paragraph -->' ,
'<!-- wp:paragraph -->' ,
'<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>' ,
'<!-- /wp:paragraph -->' ,
'<!-- wp:paragraph -->' ,
'<p></p>' ,
'<!-- /wp:paragraph -->' ,
'<!-- wp:group {"customBackgroundColor":"#ffffff","align":"wide"} -->' ,
'<div class="wp-block-group alignwide has-background" style="background-color:#ffffff"><div class="wp-block-group__inner-container"><!-- wp:group -->' ,
'<div class="wp-block-group"><div class="wp-block-group__inner-container"><!-- wp:heading {"align":"center"} -->' ,
'<h2 class="has-text-align-center">' . __ ( 'Become a Member and Get Exclusive Offers!' , 'twentytwenty' ) . '</h2>' ,
'<!-- /wp:heading -->' ,
'<!-- wp:paragraph {"align":"center"} -->' ,
'<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>' ,
'<!-- /wp:paragraph -->' ,
'<!-- wp:button {"align":"center"} -->' ,
'<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>' ,
'<!-- /wp:button --></div></div>' ,
'<!-- /wp:group --></div></div>' ,
'<!-- /wp:group -->' ,
)
),
),
Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
'about' ,
'contact' ,
'blog' ,
),
// Default to a static front page and assign the front and posts pages.
'options' => array (
'show_on_front' => 'page' ,
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.
Built from https://develop.svn.wordpress.org/trunk@46445
git-svn-id: http://core.svn.wordpress.org/trunk@46243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-08 15:08:07 -04:00
'page_on_front' => '{{front}}' ,
Bundled Themes: Import Twenty Twenty, the new default theme for WordPress 5.3.
Welcome to the bundled themes family!
Theme development to this point has taken place on GitHub. See: https://github.com/WordPress/twentytwenty/.
Props anlino, ianbelanger, audrasjb, nielslange, fabiankaegy, mukesh27, poena, joyously, emiluzelac, williampatton, dingo-d, dkarfa, acosmin, rabmalin, kafleg, jeffpaul, hareesh-pillai, burhandodhy, afercia, juanfra, soean, presskopp, justinahinon, jrf, netweb, garyj, pento, flixos90, vbaimas, zebulan, byalextran, mor10, kjellr, allancole, tdh, karmatosed, mapk, matt, andrewtaylor-1, ismailelkorchi, garrett-eclipse, gsayed786, dianeco, celloexpressions, aristath, nadir, cbravobernal, intimez, hometowntrailers, collet, littlebigthing, tobifjellner, kevinkovadia, jarretc.
See #48110.
Built from https://develop.svn.wordpress.org/trunk@46271
git-svn-id: http://core.svn.wordpress.org/trunk@46083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-23 16:16:00 -04:00
'page_for_posts' => '{{blog}}' ,
),
// Set up nav menus for each of the two areas registered in the theme.
'nav_menus' => array (
// Assign a menu to the "primary" location.
'primary' => array (
'name' => __ ( 'Primary' , 'twentytwenty' ),
'items' => array (
'page_contact' ,
),
),
// Assign a menu to the "expanded" (modal) menu location.
'expanded' => array (
'name' => __ ( 'Primary' , 'twentytwenty' ),
'items' => array (
'link_home' , // Note that the core "home" page is actually a link in case a static front page is not used.
'page_about' ,
'page_blog' ,
),
),
// Assign a menu to the "social" location.
'social' => array (
'name' => __ ( 'Social Links Menu' , 'twentytwenty' ),
'items' => array (
'link_yelp' ,
'link_facebook' ,
'link_twitter' ,
'link_instagram' ,
'link_email' ,
),
),
),
);
/**
* Filters Twenty Twenty array of starter content .
*
* @ since Twenty Twenty 1.0 . 0
*
* @ param array $starter_content Array of starter content .
*/
return apply_filters ( 'twentytwenty_starter_content' , $starter_content );
}