1296 | | |
1297 | | <div class="welcome-panel-column"> |
1298 | | <h4> |
1299 | | <span class="icon16 icon-settings"></span> |
1300 | | <?php _e( 'Basic Settings' ); ?> |
1301 | | </h4> |
1302 | | <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> |
1303 | | <ul> |
1304 | | <li> |
1305 | | <?php echo sprintf( |
1306 | | __( '<a href="%s">Choose your privacy setting</a>' ), |
1307 | | esc_url( admin_url('options-privacy.php') ) |
1308 | | ); ?> |
1309 | | </li> |
1310 | | <li> |
1311 | | <?php echo sprintf( |
1312 | | __( '<a href="%s">Select your tagline and time zone</a>' ), |
1313 | | esc_url( admin_url('options-general.php') ) |
1314 | | ); ?> |
1315 | | </li> |
1316 | | <li> |
1317 | | <?php echo sprintf( |
1318 | | __( '<a href="%s">Turn comments on or off</a>' ), |
1319 | | esc_url( admin_url('options-discussion.php') ) |
1320 | | ); ?> |
1321 | | </li> |
1322 | | <li> |
1323 | | <?php echo sprintf( |
1324 | | __( '<a href="%s">Fill in your profile</a>' ), |
1325 | | esc_url( admin_url('profile.php') ) |
1326 | | ); ?> |
1327 | | </li> |
1328 | | </ul> |
1329 | | </div> |
1330 | | <div class="welcome-panel-column"> |
1331 | | <h4> |
1332 | | <span class="icon16 icon-page"></span> |
1333 | | <?php _e( 'Add Real Content' ); ?> |
1334 | | </h4> |
1335 | | <p><?php _e( 'Check out the sample page & post editors to see how it all works, then delete the default content and write your own!' ); ?></p> |
1336 | | <ul> |
1337 | | <li> |
1338 | | <?php echo sprintf( |
1339 | | __( 'View the <a href="%1$s">sample page</a> and <a href="%2$s">post</a>' ), |
1340 | | esc_url( get_permalink( 2 ) ), |
1341 | | esc_url( get_permalink( 1 ) ) |
1342 | | ); ?> |
1343 | | </li> |
1344 | | <li> |
1345 | | <?php echo sprintf( |
1346 | | __( 'Delete the <a href="%1$s">sample page</a> and <a href="%2$s">post</a>' ), |
1347 | | esc_url( admin_url('edit.php?post_type=page') ), |
1348 | | esc_url( admin_url('edit.php') ) |
1349 | | ); ?> |
1350 | | </li> |
1351 | | <li> |
1352 | | <?php echo sprintf( |
1353 | | __( '<a href="%s">Create an About Me page</a>' ), |
1354 | | esc_url( admin_url('edit.php?post_type=page') ) |
1355 | | ); ?> |
1356 | | </li> |
1357 | | <li> |
1358 | | <?php echo sprintf( |
1359 | | __( '<a href="%s">Write your first post</a>' ), |
1360 | | esc_url( admin_url('post-new.php') ) |
1361 | | ); ?> |
1362 | | </li> |
1363 | | </ul> |
1364 | | </div> |
1365 | | <div class="welcome-panel-column"> |
1366 | | <h4> |
1367 | | <span class="icon16 icon-appearance"></span> |
1368 | | <?php _e( 'Customize Your Site' ); ?> |
1369 | | </h4> |
1370 | | <?php |
1371 | | $ct = current_theme_info(); |
1372 | | if ( empty ( $ct->stylesheet_dir ) ) : |
1373 | | echo '<p>'; |
1374 | | printf( __( '<a href="%s">Install a theme</a> to get started customizing your site.' ), esc_url( admin_url( 'themes.php' ) ) ); |
1375 | | echo '</p>'; |
1376 | | else: |
1377 | | echo '<p>'; |
1378 | | printf( __( 'Use the current theme — %1$s — or <a href="%2$s">choose a new one</a>. If you stick with %3$s, here are a few ways to make your site look unique.' ), $ct->title, esc_url( admin_url( 'themes.php' ) ), $ct->title ); |
1379 | | echo '</p>'; |
1380 | | ?> |
1381 | | <ul> |
1382 | | <?php if ( 'twentyeleven' == $ct->stylesheet ) : ?> |
1383 | | <li> |
1384 | | <?php echo sprintf( |
1385 | | __( '<a href="%s">Choose light or dark</a>' ), |
1386 | | esc_url( admin_url( 'themes.php?page=theme_options' ) ) |
1387 | | ); ?> |
1388 | | </li> |
| 1296 | |
| 1297 | <div class="welcome-panel-column-container"> |
| 1298 | <div class="welcome-panel-column"> |
| 1299 | <h4> |
| 1300 | <span class="icon16 icon-settings"></span> |
| 1301 | <?php _e( 'Basic Settings' ); ?> |
| 1302 | </h4> |
| 1303 | <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> |
| 1304 | <ul> |
| 1305 | <li> |
| 1306 | <?php echo sprintf( |
| 1307 | __( '<a href="%s">Choose your privacy setting</a>' ), |
| 1308 | esc_url( admin_url('options-privacy.php') ) |
| 1309 | ); ?> |
| 1310 | </li> |
| 1311 | <li> |
| 1312 | <?php echo sprintf( |
| 1313 | __( '<a href="%s">Select your tagline and time zone</a>' ), |
| 1314 | esc_url( admin_url('options-general.php') ) |
| 1315 | ); ?> |
| 1316 | </li> |
| 1317 | <li> |
| 1318 | <?php echo sprintf( |
| 1319 | __( '<a href="%s">Turn comments on or off</a>' ), |
| 1320 | esc_url( admin_url('options-discussion.php') ) |
| 1321 | ); ?> |
| 1322 | </li> |
| 1323 | <li> |
| 1324 | <?php echo sprintf( |
| 1325 | __( '<a href="%s">Fill in your profile</a>' ), |
| 1326 | esc_url( admin_url('profile.php') ) |
| 1327 | ); ?> |
| 1328 | </li> |
| 1329 | </ul> |
| 1330 | </div> |
| 1331 | <div class="welcome-panel-column"> |
| 1332 | <h4> |
| 1333 | <span class="icon16 icon-page"></span> |
| 1334 | <?php _e( 'Add Real Content' ); ?> |
| 1335 | </h4> |
| 1336 | <p><?php _e( 'Check out the sample page & post editors to see how it all works, then delete the default content and write your own!' ); ?></p> |
| 1337 | <ul> |
| 1338 | <li> |
| 1339 | <?php echo sprintf( |
| 1340 | __( 'View the <a href="%1$s">sample page</a> and <a href="%2$s">post</a>' ), |
| 1341 | esc_url( get_permalink( 2 ) ), |
| 1342 | esc_url( get_permalink( 1 ) ) |
| 1343 | ); ?> |
| 1344 | </li> |
| 1345 | <li> |
| 1346 | <?php echo sprintf( |
| 1347 | __( 'Delete the <a href="%1$s">sample page</a> and <a href="%2$s">post</a>' ), |
| 1348 | esc_url( admin_url('edit.php?post_type=page') ), |
| 1349 | esc_url( admin_url('edit.php') ) |
| 1350 | ); ?> |
| 1351 | </li> |
| 1352 | <li> |
| 1353 | <?php echo sprintf( |
| 1354 | __( '<a href="%s">Create an About Me page</a>' ), |
| 1355 | esc_url( admin_url('edit.php?post_type=page') ) |
| 1356 | ); ?> |
| 1357 | </li> |
| 1358 | <li> |
| 1359 | <?php echo sprintf( |
| 1360 | __( '<a href="%s">Write your first post</a>' ), |
| 1361 | esc_url( admin_url('post-new.php') ) |
| 1362 | ); ?> |
| 1363 | </li> |
| 1364 | </ul> |
| 1365 | </div> |
| 1366 | <div class="welcome-panel-column"> |
| 1367 | <h4> |
| 1368 | <span class="icon16 icon-appearance"></span> |
| 1369 | <?php _e( 'Customize Your Site' ); ?> |
| 1370 | </h4> |
1393 | | <li> |
1394 | | <?php echo sprintf( |
1395 | | __( '<a href="%s">Set a background color</a>' ), |
1396 | | esc_url( admin_url( 'themes.php?page=custom-background' ) ) |
1397 | | ); ?> |
1398 | | </li> |
1399 | | <?php |
1400 | | endif; |
1401 | | if ( current_theme_supports( 'custom-header' ) ) : |
1402 | | ?> |
1403 | | <li> |
1404 | | <?php echo sprintf( |
1405 | | __( '<a href="%s">Select a new header image</a>' ), |
1406 | | esc_url( admin_url( 'themes.php?page=custom-header' ) ) |
1407 | | ); ?> |
1408 | | </li> |
1409 | | <?php |
1410 | | endif; |
1411 | | if ( current_theme_supports( 'widgets' ) ) : |
1412 | | ?> |
1413 | | <li> |
1414 | | <?php echo sprintf( |
1415 | | __( '<a href="%s">Add some widgets</a>' ), |
1416 | | esc_url( admin_url( 'widgets.php' ) ) |
1417 | | ); ?> |
1418 | | </li> |
| 1382 | <ul> |
| 1383 | <?php if ( 'twentyeleven' == $ct->stylesheet ) : ?> |
| 1384 | <li> |
| 1385 | <?php echo sprintf( |
| 1386 | __( '<a href="%s">Choose light or dark</a>' ), |
| 1387 | esc_url( admin_url( 'themes.php?page=theme_options' ) ) |
| 1388 | ); ?> |
| 1389 | </li> |
| 1390 | <?php |
| 1391 | endif; |
| 1392 | if ( current_theme_supports( 'custom-background' ) ) : |
| 1393 | ?> |
| 1394 | <li> |
| 1395 | <?php echo sprintf( |
| 1396 | __( '<a href="%s">Set a background color</a>' ), |
| 1397 | esc_url( admin_url( 'themes.php?page=custom-background' ) ) |
| 1398 | ); ?> |
| 1399 | </li> |
| 1400 | <?php |
| 1401 | endif; |
| 1402 | if ( current_theme_supports( 'custom-header' ) ) : |
| 1403 | ?> |
| 1404 | <li> |
| 1405 | <?php echo sprintf( |
| 1406 | __( '<a href="%s">Select a new header image</a>' ), |
| 1407 | esc_url( admin_url( 'themes.php?page=custom-header' ) ) |
| 1408 | ); ?> |
| 1409 | </li> |
| 1410 | <?php |
| 1411 | endif; |
| 1412 | if ( current_theme_supports( 'widgets' ) ) : |
| 1413 | ?> |
| 1414 | <li> |
| 1415 | <?php echo sprintf( |
| 1416 | __( '<a href="%s">Add some widgets</a>' ), |
| 1417 | esc_url( admin_url( 'widgets.php' ) ) |
| 1418 | ); ?> |
| 1419 | </li> |
| 1420 | <?php endif; ?> |
| 1421 | </ul> |