|
@@ -18,22 +18,29 @@
|
|
|
|
|
|
<div class="page-content responsive-max-width">
|
|
|
<?php
|
|
|
- if ( is_home() && current_user_can( 'publish_posts' ) ) :
|
|
|
+ if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
|
|
|
|
|
|
- printf(
|
|
|
- '<p>' . wp_kses(
|
|
|
- /* translators: 1: link to WP admin new post page. */
|
|
|
- __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'varia' ),
|
|
|
+ <p>
|
|
|
+ <?php _e( 'Your site is set to show the the most recent posts on your homepage - but you don\'t have any Posts published.', 'seedlet' ); ?></p>
|
|
|
+
|
|
|
+ <?php printf(
|
|
|
+ '<p>'
|
|
|
+ . wp_kses('<a href="%1$s" class="button">',
|
|
|
array(
|
|
|
'a' => array(
|
|
|
'href' => array(),
|
|
|
- ),
|
|
|
- )
|
|
|
- ) . '</p>',
|
|
|
- esc_url( admin_url( 'post-new.php' ) )
|
|
|
+ 'class' => 'button'
|
|
|
+ )
|
|
|
+ )
|
|
|
+ ) ,
|
|
|
+ esc_url( admin_url( 'edit.php' ) )
|
|
|
);
|
|
|
+ /* translators: 1: link to WP admin new post page. 2: class for anchor */
|
|
|
+ _e( 'Add or publish Posts', 'seedlet' ); ?>
|
|
|
|
|
|
- elseif ( is_search() ) :
|
|
|
+ </a></p>
|
|
|
+
|
|
|
+ <?php elseif ( is_search() ) :
|
|
|
?>
|
|
|
|
|
|
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'varia' ); ?></p>
|