Make WordPress Core


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

Theme starter content: Refine the content for pages.

see #38615.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r39256 r39260  
    18531853                'type' => 'post_type',
    18541854                'object' => 'page',
    1855                 'object_id' => '{{about-us}}',
     1855                'object_id' => '{{about}}',
    18561856            ),
    18571857            'page_blog' => array(
     
    18601860                'object_id' => '{{blog}}',
    18611861            ),
     1862            'page_news' => array(
     1863                'type' => 'post_type',
     1864                'object' => 'page',
     1865                'object_id' => '{{news}}',
     1866            ),
    18621867            'page_contact' => array(
    18631868                'type' => 'post_type',
    18641869                'object' => 'page',
    1865                 'object_id' => '{{contact-us}}',
     1870                'object_id' => '{{contact}}',
    18661871            ),
    18671872
     
    19101915            'home' => array(
    19111916                'post_type' => 'page',
    1912                 'post_title' => _x( 'Homepage', 'Theme starter content' ),
    1913                 'post_content' => _x( 'Welcome home.', 'Theme starter content' ),
     1917                'post_title' => _x( 'Home', 'Theme starter content' ),
     1918                'post_content' => _x( 'Welcome to your site! This is your homepage, which is what most visitors will see when they come to your site for the first time.', 'Theme starter content' ),
    19141919            ),
    1915             'about-us' => array(
     1920            'about' => array(
    19161921                'post_type' => 'page',
    1917                 'post_title' => _x( 'About Us', 'Theme starter content' ),
    1918                 'post_content' => _x( 'More than you ever wanted to know.', 'Theme starter content' ),
     1922                'post_title' => _x( 'About', 'Theme starter content' ),
     1923                'post_content' => _x( 'You might be an artist who would like to introduce yourself and your work here or maybe you’re a business with a mission to describe.', 'Theme starter content' ),
    19191924            ),
    1920             'contact-us' => array(
     1925            'contact' => array(
    19211926                'post_type' => 'page',
    1922                 'post_title' => _x( 'Contact Us', 'Theme starter content' ),
    1923                 'post_content' => _x( 'Call us at 999-999-9999.', 'Theme starter content' ),
     1927                'post_title' => _x( 'Contact', 'Theme starter content' ),
     1928                'post_content' => _x( 'This is a page with some basic contact information, such as an address and phone number. You might also try a plugin to add a contact form.', 'Theme starter content' ),
    19241929            ),
    19251930            'blog' => array(
     
    19271932                'post_title' => _x( 'Blog', 'Theme starter content' ),
    19281933            ),
     1934            'news' => array(
     1935                'post_type' => 'page',
     1936                'post_title' => _x( 'News', 'Theme starter content' ),
     1937            ),
    19291938
    19301939            'homepage-section' => array(
    19311940                'post_type' => 'page',
    19321941                'post_title' => _x( 'A homepage section', 'Theme starter content' ),
    1933                 'post_content' => _x( 'This is an example of a homepage section, which are managed in theme options.', 'Theme starter content' ),
     1942                'post_content' => _x( 'This is an example of a homepage section. Homepage sections can be any page other than the homepage itself, including the page that shows your latest blog posts.', 'Theme starter content' ),
    19341943            ),
    19351944        ),
Note: See TracChangeset for help on using the changeset viewer.