![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/walla3t.corals.io/wp-content/themes/apper/partials/ |
<?php /** * The template for displaying a "No posts found" message. * * @package Apper WordPress theme */ ?> <div class="page-content page-none"> <?php if ( is_home() && current_user_can( 'publish_posts' ) ) { ?> <p><?php echo sprintf( esc_html__( 'Ready to publish your first post? %1$sGet started here%2$s.', 'apper' ), '<a href="'. esc_url( admin_url( 'post-new.php' ) ) .'" target="_blank">', '</a>' ); ?></p> <?php } elseif ( is_search() ) { ?> <h2><?php esc_html_e( "Whoops! We can't find that page!", 'apper' ); ?></h2> <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with different keywords.', 'apper' ); ?></p> <?php get_template_part( 'searchform' ); ?> <p> <a class="take_me_home" href="<?php echo home_url(); ?>"> <?php esc_html_e( 'Or Take Me Home', 'apper' ); ?> </a> </p> <?php } elseif ( is_category() ) { ?> <h2><?php esc_html_e( 'Whoops! Nothing Found!', 'apper' ); ?></h2> <p><?php esc_html_e( 'There aren\'t any posts currently published in this category.', 'apper' ); ?></p> <?php } elseif ( is_tax() ) { ?> <h2><?php esc_html_e( 'Whoops! Nothing Found!', 'apper' ); ?></h2> <p><?php esc_html_e( 'There aren\'t any posts currently published under this author.', 'apper' ); ?></p> <?php } elseif ( is_tag() ) { ?> <h2><?php esc_html_e( 'Whoops! Nothing Found!', 'apper' ); ?></h2> <p><?php esc_html_e( 'There aren\'t any posts currently published under this tag.', 'apper' ); ?></p> <?php } else { ?> <h2><?php esc_html_e( 'Whoops! Nothing Found!', 'apper' ); ?></h2> <p><?php esc_html_e( 'It seems we can’t find what you’re looking for.', 'apper' ); ?></p> <?php } ?> </div><!-- .page-content -->