Make WordPress Core

Changeset 39261


Ignore:
Timestamp:
11/16/2016 12:39:47 AM (8 years ago)
Author:
helen
Message:

Theme starter content: Add reference IDs for most default widgets.

Some widgets that require more configuration are not included, such as RSS and Custom Menu. Tag Cloud is also not included because fresh sites do not have any tags to display.

Also adds a search widget to a Twenty Seventeen footer widget area.

see #38615.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/functions.php

    r39260 r39261  
    118118            'sidebar-3' => array(
    119119                'text_about',
     120                'search',
    120121            ),
    121122        ),
  • trunk/src/wp-includes/theme.php

    r39260 r39261  
    18361836                ) ),
    18371837            ) ),
    1838             'search' => array( 'search', array(
    1839                 'title' => _x( 'Site Search', 'Theme starter content' ),
    1840             ) ),
    18411838            'text_about' => array( 'text', array(
    18421839                'title' => _x( 'About This Site', 'Theme starter content' ),
    18431840                'text' => _x( 'This may be a good place to introduce yourself and your site or include some credits.', 'Theme starter content' ),
     1841            ) ),
     1842            'archives' => array( 'archives', array(
     1843                'title' => _x( 'Archives', 'Theme starter content' ),
     1844            ) ),
     1845            'calendar' => array( 'calendar', array(
     1846                'title' => _x( 'Calendar', 'Theme starter content' ),
     1847            ) ),
     1848            'categories' => array( 'categories', array(
     1849                'title' => _x( 'Categories', 'Theme starter content' ),
     1850            ) ),
     1851            'meta' => array( 'meta', array(
     1852                'title' => _x( 'Meta', 'Theme starter content' ),
     1853            ) ),
     1854            'recent-comments' => array( 'recent-comments', array(
     1855                'title' => _x( 'Recent Comments', 'Theme starter content' ),
     1856            ) ),
     1857            'recent-posts' => array( 'recent-posts', array(
     1858                'title' => _x( 'Recent Posts', 'Theme starter content' ),
     1859            ) ),
     1860            'search' => array( 'search', array(
     1861                'title' => _x( 'Search', 'Theme starter content' ),
    18441862            ) ),
    18451863        ),
Note: See TracChangeset for help on using the changeset viewer.