Edit File by line
/home/barbar84/www/wp-conte.../themes/twentyni.../template.../content
File: content-none.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template part for displaying a message that posts cannot be found
[2] Fix | Delete
*
[3] Fix | Delete
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
[4] Fix | Delete
*
[5] Fix | Delete
* @package WordPress
[6] Fix | Delete
* @subpackage Twenty_Nineteen
[7] Fix | Delete
* @since Twenty Nineteen 1.0
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
?>
[11] Fix | Delete
[12] Fix | Delete
<section class="no-results not-found">
[13] Fix | Delete
<header class="page-header">
[14] Fix | Delete
<h1 class="page-title"><?php _e( 'Nothing Found', 'twentynineteen' ); ?></h1>
[15] Fix | Delete
</header><!-- .page-header -->
[16] Fix | Delete
[17] Fix | Delete
<div class="page-content">
[18] Fix | Delete
<?php
[19] Fix | Delete
if ( is_home() && current_user_can( 'publish_posts' ) ) :
[20] Fix | Delete
[21] Fix | Delete
printf(
[22] Fix | Delete
'<p>' . wp_kses(
[23] Fix | Delete
/* translators: %s: Link to WP admin new post page. */
[24] Fix | Delete
__( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentynineteen' ),
[25] Fix | Delete
array(
[26] Fix | Delete
'a' => array(
[27] Fix | Delete
'href' => array(),
[28] Fix | Delete
),
[29] Fix | Delete
)
[30] Fix | Delete
) . '</p>',
[31] Fix | Delete
esc_url( admin_url( 'post-new.php' ) )
[32] Fix | Delete
);
[33] Fix | Delete
[34] Fix | Delete
elseif ( is_search() ) :
[35] Fix | Delete
?>
[36] Fix | Delete
[37] Fix | Delete
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentynineteen' ); ?></p>
[38] Fix | Delete
<?php
[39] Fix | Delete
get_search_form();
[40] Fix | Delete
[41] Fix | Delete
else :
[42] Fix | Delete
?>
[43] Fix | Delete
[44] Fix | Delete
<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'twentynineteen' ); ?></p>
[45] Fix | Delete
<?php
[46] Fix | Delete
get_search_form();
[47] Fix | Delete
[48] Fix | Delete
endif;
[49] Fix | Delete
?>
[50] Fix | Delete
</div><!-- .page-content -->
[51] Fix | Delete
</section><!-- .no-results -->
[52] Fix | Delete
[53] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function