Changeset 14967
- Timestamp:
- 05/27/2010 12:16:34 AM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r14961 r14967 124 124 125 125 if ( post_type_supports($post_type, 'page-attributes') ) 126 add_meta_box('pageparentdiv', __('Attributes'), 'page_attributes_meta_box', $post_type, 'side', 'core');126 add_meta_box('pageparentdiv', 'page' == $post_type ? __('Page Attributes') : __('Attributes'), 'page_attributes_meta_box', $post_type, 'side', 'core'); 127 127 128 128 if ( current_theme_supports( 'post-thumbnails', $post_type ) && post_type_supports($post_type, 'thumbnail') ) … … 181 181 } elseif ( 'page' == $post_type ) { 182 182 add_contextual_help($current_screen, '<p>' . __('Pages are similar to to Posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest Pages under other Pages by making one the "Parent" of the other, creating a group of Pages.') . '</p>' . 183 '<p>' . __('Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. The Page editor mostly works the same Post editor, but there are some Page-specific features in the Attributes box:') . '</p>' .183 '<p>' . __('Creating a Page is very similar to creating a Post, and the screens can be customized in the same way using drag and drop, the Screen Options tab, and expanding/collapsing boxes as you choose. The Page editor mostly works the same Post editor, but there are some Page-specific features in the Page Attributes box:') . '</p>' . 184 184 '<p>' . __('<strong>Parent</strong> - You can arrange your pages in hierarchies. For example, you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how many levels you can nest pages.') . '</p>' . 185 185 '<p>' . __('<strong>Template</strong> - Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them in this dropdown menu.') . '</p>' . -
trunk/wp-admin/includes/meta-boxes.php
r14938 r14967 538 538 if ( ! empty($pages) ) { 539 539 ?> 540 < h5><?php _e('Parent') ?></h5>540 <p><strong><?php _e('Parent') ?></strong></p> 541 541 <label class="screen-reader-text" for="parent_id"><?php _e('Parent') ?></label> 542 542 <?php echo $pages; ?> … … 547 547 $template = !empty($post->page_template) ? $post->page_template : false; 548 548 ?> 549 < h5><?php _e('Template') ?></h5>549 <p><strong><?php _e('Template') ?></strong></p> 550 550 <label class="screen-reader-text" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template"> 551 551 <option value='default'><?php _e('Default Template'); ?></option> … … 554 554 <?php 555 555 } ?> 556 < h5><?php _e('Order') ?></h5>556 <p><strong><?php _e('Order') ?></strong></p> 557 557 <p><label class="screen-reader-text" for="menu_order"><?php _e('Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p> 558 <p><?php if ( 'page' == $post->post_type ) _e( 'Need help? Use the Help tab in the upper right of your screen.' ); ?></p> 558 559 <?php 559 560 }
Note: See TracChangeset
for help on using the changeset viewer.