Theme starter content: Revamp the credits widget into an about widget.
The credits widget from the original commit was a nice test to see the date changing, but isn't really very inspirational. Also, implement it in Twenty Seventeen. see #38615. git-svn-id: https://develop.svn.wordpress.org/trunk@39255 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b059e8df3e
commit
345341f8d9
@ -108,7 +108,7 @@ function twentyseventeen_setup() {
|
||||
'sidebar-1' => array(
|
||||
'text_business_info',
|
||||
'search',
|
||||
'text_credits',
|
||||
'text_about',
|
||||
),
|
||||
|
||||
'sidebar-2' => array(
|
||||
@ -116,7 +116,7 @@ function twentyseventeen_setup() {
|
||||
),
|
||||
|
||||
'sidebar-3' => array(
|
||||
'text_credits',
|
||||
'text_about',
|
||||
),
|
||||
),
|
||||
|
||||
|
@ -1838,9 +1838,9 @@ function get_theme_starter_content() {
|
||||
'search' => array( 'search', array(
|
||||
'title' => _x( 'Site Search', 'Theme starter content' ),
|
||||
) ),
|
||||
'text_credits' => array( 'text', array(
|
||||
'title' => _x( 'Site Credits', 'Theme starter content' ),
|
||||
'text' => sprintf( _x( 'This site was created on %s', 'Theme starter content' ), get_date_from_gmt( current_time( 'mysql', 1 ), 'c' ) ),
|
||||
'text_about' => array( 'text', array(
|
||||
'title' => _x( 'About This Site', 'Theme starter content' ),
|
||||
'text' => _x( 'This may be a good place to introduce yourself and your site or include some credits.', 'Theme starter content' ),
|
||||
) ),
|
||||
),
|
||||
'nav_menus' => array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user