1260 | | <h4><span class="icon16 icon-settings"></span> <?php _e( 'Basic Settings' ); ?></h4> |
1261 | | <p><?php _e( 'Here are a few easy things you can do to get your feet wet. Make sure to click Save on each Settings screen.' ); ?></p> |
1262 | | <ul> |
1263 | | <li><?php echo sprintf( __( '<a href="%s">Choose your privacy setting</a>' ), esc_url( admin_url('options-privacy.php') ) ); ?></li> |
1264 | | <li><?php echo sprintf( __( '<a href="%s">Select your tagline and time zone</a>' ), esc_url( admin_url('options-general.php') ) ); ?></li> |
1265 | | <li><?php echo sprintf( __( '<a href="%s">Turn comments on or off</a>' ), esc_url( admin_url('options-discussion.php') ) ); ?></li> |
1266 | | <li><?php echo sprintf( __( '<a href="%s">Fill in your profile</a>' ), esc_url( get_edit_profile_url( get_current_user_id() ) ) ); ?></li> |
1267 | | </ul> |
| 1258 | <h4><?php _e( 'Get Started' ); ?></h4> |
| 1259 | <p><?php _e( 'First, change the look of your site:' ); ?></p> |
| 1260 | <a class="button-primary" href="<?php echo wp_customize_url() ?>">Customize Your Site</a> |
1273 | | <li><?php echo sprintf( __( 'View the <a href="%1$s">sample page</a> and <a href="%2$s">post</a>' ), esc_url( get_permalink( 2 ) ), esc_url( get_permalink( 1 ) ) ); ?></li> |
1274 | | <li><?php echo sprintf( __( 'Delete the <a href="%1$s">sample page</a> and <a href="%2$s">post</a>' ), esc_url( admin_url('edit.php?post_type=page') ), esc_url( admin_url('edit.php') ) ); ?></li> |
1275 | | <li><?php echo sprintf( __( '<a href="%s">Create an About Me page</a>' ), esc_url( admin_url('edit.php?post_type=page') ) ); ?></li> |
1276 | | <li><?php echo sprintf( __( '<a href="%s">Write your first post</a>' ), esc_url( admin_url('post-new.php') ) ); ?></li> |
| 1265 | <?php if ( ( 'page' == get_option( 'show_on_front' ) ) && '0' == get_option( 'page_for_posts' ) ) { ?> |
| 1266 | <li><?php echo sprintf( __( '<a href="%s">Edit your front page</a>' ), esc_url( admin_url( 'post.php?post='.get_option( 'page_on_front' ).'&action=edit' ) ) ); ?></li> |
| 1267 | <li><?php echo sprintf( __( '<a href="%s">Add additional pages</a>' ), esc_url( admin_url( 'edit.php?post_type=page' ) ) ); ?></li> |
| 1268 | <?php } else if ( 'page' == get_option( 'show_on_front' ) ) { ?> |
| 1269 | <li><?php echo sprintf( __( '<a href="%s">Edit your front page</a>' ), esc_url( admin_url( 'post.php?post='.get_option( 'page_on_front' ).'&action=edit' ) ) ); ?></li> |
| 1270 | <li><?php echo sprintf( __( '<a href="%s">Add additional pages</a>' ), esc_url( admin_url( 'edit.php?post_type=page' ) ) ); ?></li> |
| 1271 | <li><?php echo sprintf( __( '<a href="%s">Add a blog post</a>' ), esc_url( admin_url( 'edit.php' ) ) ); ?></li> |
| 1272 | <?php } else { ?> |
| 1273 | <li><?php echo sprintf( __( '<a href="%s">Write your first blog post</a>' ), esc_url( admin_url( 'edit.php' ) ) ); ?></li> |
| 1274 | <li><?php echo sprintf( __( '<a href="%s">Add an About Me page</a>' ), esc_url( admin_url( 'edit.php?post_type=page' ) ) ); ?></li> |
| 1275 | <?php } ?> |
| 1276 | <li><?php echo sprintf( __( '<a href="%s">Check out your site</a>' ), esc_url( home_url() ) ); ?></li> |
1280 | | <h4><span class="icon16 icon-appearance"></span> <?php _e( 'Customize Your Site' ); ?></h4> |
1281 | | <?php |
1282 | | $theme = wp_get_theme(); |
1283 | | if ( $theme->errors() ) : |
1284 | | echo '<p>'; |
1285 | | printf( __( '<a href="%s">Install a theme</a> to get started customizing your site.' ), esc_url( admin_url( 'themes.php' ) ) ); |
1286 | | echo '</p>'; |
1287 | | else: |
1288 | | $customize_links = array(); |
1289 | | if ( 'twentyeleven' == $theme->get_stylesheet() ) |
1290 | | $customize_links[] = sprintf( __( '<a href="%s">Choose light or dark</a>' ), esc_url( admin_url( 'themes.php?page=theme_options' ) ) ); |
1291 | | |
1292 | | if ( current_theme_supports( 'custom-background' ) ) |
1293 | | $customize_links[] = sprintf( __( '<a href="%s">Set a background color</a>' ), esc_url( admin_url( 'themes.php?page=custom-background' ) ) ); |
1294 | | |
1295 | | if ( current_theme_supports( 'custom-header' ) ) |
1296 | | $customize_links[] = sprintf( __( '<a href="%s">Select a new header image</a>' ), esc_url( admin_url( 'themes.php?page=custom-header' ) ) ); |
1297 | | |
1298 | | if ( current_theme_supports( 'widgets' ) ) |
1299 | | $customize_links[] = sprintf( __( '<a href="%s">Add some widgets</a>' ), esc_url( admin_url( 'widgets.php' ) ) ); |
1300 | | |
1301 | | if ( ! empty( $customize_links ) ) { |
1302 | | echo '<p>'; |
1303 | | printf( __( 'Use the current theme — %1$s — or <a href="%2$s">choose a new one</a>. If you stick with %1$s, here are a few ways to make your site look unique.' ), $theme->display('Name'), esc_url( admin_url( 'themes.php' ) ) ); |
1304 | | echo '</p>'; |
1305 | | ?> |
1306 | | <ul> |
1307 | | <?php foreach ( $customize_links as $customize_link ) : ?> |
1308 | | <li><?php echo $customize_link ?></li> |
1309 | | <?php endforeach; ?> |
1310 | | </ul> |
1311 | | <?php |
1312 | | } else { |
1313 | | echo '<p>'; |
1314 | | printf( __( 'Use the current theme — %1$s — or <a href="%2$s">choose a new one</a>.' ), $theme->display('Name'), esc_url( admin_url( 'themes.php' ) ) ); |
1315 | | echo '</p>'; |
1316 | | } |
1317 | | endif; ?> |
| 1280 | <h4><?php _e( 'Learn how to' ); ?></h4> |
| 1281 | <ul> |
| 1282 | <li><?php echo sprintf( __( '<a href="%s">Add media</a>' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></li> |
| 1283 | <li><?php echo sprintf( __( '<a href="%s">Change your theme</a>' ), esc_url( admin_url( 'themes.php' ) ) ); ?></li> |
| 1284 | <li><?php echo sprintf( __( '<a href="%s">Edit your navigation menu</a>' ), esc_url( admin_url( 'nav-menus.php' ) ) ); ?></li> |
| 1285 | </ul> |