Simplify output of link
This commit is contained in:
parent
cc5b05766d
commit
f28b725e62
1 changed files with 5 additions and 16 deletions
|
@ -22,23 +22,12 @@
|
||||||
<p>
|
<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 _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>
|
||||||
'<p>'
|
<a href="<?php echo esc_url( admin_url( 'edit.php' ) ); ?>" class="button">
|
||||||
. wp_kses('<a href="%1$s" class="button">',
|
<?php /* translators: 1: link to WP admin new post page. */
|
||||||
array(
|
|
||||||
'a' => array(
|
|
||||||
'href' => array(),
|
|
||||||
'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' ); ?>
|
_e( 'Add or publish Posts', 'seedlet' ); ?>
|
||||||
|
</a>
|
||||||
</a></p>
|
</p>
|
||||||
|
|
||||||
<?php elseif ( is_search() ) :
|
<?php elseif ( is_search() ) :
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue