'; echo '

' . __( 'The character encoding of your site (UTF-8 is recommended)' ) . '

'; } get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __('Overview'), 'content' => '

' . __('This screen contains the settings that affect the display of your content.') . '

' . '

' . sprintf(__('You can choose what’s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two Pages. One will become the front page, and the other will be where your posts are displayed.'), 'post-new.php?post_type=page') . '

' . '

' . __('You can also control the display of your content in RSS feeds, including the maximum numbers of posts to display and whether to show full text or a summary.') . '

' . '

' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

', ) ); get_current_screen()->add_help_tab( array( 'id' => 'site-visibility', 'title' => has_action( 'blog_privacy_selector' ) ? __( 'Site Visibility' ) : __( 'Search Engine Visibility' ), 'content' => '

' . __( 'You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the checkbox next to “Discourage search engines from indexing this site” and click the Save Changes button at the bottom of the screen. Note that your privacy is not complete; your site is still visible on the web.' ) . '

' . '

' . __( 'When this setting is in effect, a reminder is shown in the Right Now box of the Dashboard that says, “Search Engines Discouraged,” to remind you that your site is not being crawled.' ) . '

', ) ); get_current_screen()->set_help_sidebar( '

' . __('For more information:') . '

' . '

' . __('Documentation on Reading Settings') . '

' . '

' . __('Support Forums') . '

' ); include( './admin-header.php' ); ?>

'blog_charset' ) ); $classes = ''; if ( 'page' == get_option( 'show_on_front' ) ) { if ( ! get_pages() || ! get_option( 'page_on_front' ) && ! get_option( 'page_for_posts' ) ) { update_option( 'show_on_front', 'posts' ); } else { $classes = 'page-on-front'; if ( get_option( 'page_for_posts' ) ) $classes .= ' page-for-posts'; } } $all_pages = get_pages(); $new_front_page_only = ! get_option( 'page_on_front' ) && ( ! $all_pages || ( 1 == count( $all_pages ) && __( 'sample-page' ) == $all_pages[0]->post_name ) ); if ( current_user_can( 'create_posts', 'page' ) && ! ( get_option( 'page_for_posts' ) && $page_for_posts = get_post( get_option( 'page_for_posts' ) ) ) ) { $title = _x( 'Blog', 'default page for posts title' ); // @todo What if the found page is post_type = attachment or post_status != publish? // We could go ahead and create a new one, but we would not be able to take over // the slug from another page. (We could for an attachment.) // We must also check that the user can edit this page and publish a page. // Otherwise, we must assume they cannot create pages (throughout), and thus // should fall back to the dropdown. $page_for_posts = get_page_by_path( sanitize_title( $title ) ); if ( ! $page_for_posts || $page_for_posts->ID == get_option( 'page_on_front' ) ) { $page_for_posts = get_default_post_to_edit( 'page', true ); $page_for_posts->post_title = $title; $page_for_posts->post_name = sanitize_title( $title ); } } if ( ! $new_front_page_only || current_user_can( 'create_posts', 'page' ) ) : ?>

ID, $page_for_posts->post_title, $page_for_posts->post_name ); ?>


/>
/>