| Current File : /home/lastyfjz/dermalaserclinic.co.uk/wp-content/themes/cherie/template-parts/content-none.php |
<?php
/**
* Template part for displaying a message that posts cannot be found
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package cherie
*/
?>
<div class="page-content cbp-item">
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
<p class="text-center"><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'cherie' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
<?php elseif ( is_search() ) : ?>
<div class="empty-search-wrapper">
<div class="empty-search-wrapper-text">
<div class="left-content">
<i class="fl-custom-icon-broken"></i>
</div>
<div class="right-content">
<h5 class="empty-title"><?php esc_html_e( 'Nothing was found', 'cherie' ); ?></h5>
<p class="empty-text"><?php esc_html_e( 'Sorry, but nothing matched your search terms.', 'cherie' ); ?></p>
</div>
</div>
<div class="empty-search-wrapper-search-form">
<form class="search empty-search-form" role="search" method="get" id="searchform" action="<?php echo site_url()?>" >
<div class="fl--input-wrapper" data-text="">
<input type="text" placeholder="<?php echo esc_attr__('Search...', 'cherie')?>" class="searchinput" value="<?php echo get_search_query(); ?>" name="s" id="search-form" />
</div>
<div class="searchsubmit">
<button type="submit" id="searchsubmit-global" class="fl-custom-btn fl-font-style-bolt-two secondary-style"><?php echo esc_attr__('Search', 'cherie')?></button>
</div>
</form>
</div>
</div>
<?php endif; ?>
</div><!-- .page-content -->