![]() Server : Apache System : Linux pod-100823:apache2_74:v0.6.0 5.4.0-1138-gcp #147~18.04.1-Ubuntu SMP Mon Oct 7 21:46:26 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33.10 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system Directory : /nas/content/live/attorneyexperi/wp-content/themes/hello-elementor/template-parts/ |
<?php /** * The template for displaying search results. * * @package HelloElementor */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } ?> <main id="content" class="site-main"> <?php if ( apply_filters( 'hello_elementor_page_title', true ) ) : ?> <header class="page-header"> <h1 class="entry-title"> <?php echo esc_html__( 'Search results for: ', 'hello-elementor' ); ?> <span><?php echo get_search_query(); ?></span> </h1> </header> <?php endif; ?> <div class="page-content"> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); $post_link = get_permalink(); ?> <article class="post"> <?php printf( '<h2 class="%s"><a href="%s">%s</a></h2>', 'entry-title', esc_url( $post_link ), wp_kses_post( get_the_title() ) ); if ( has_post_thumbnail() ) { printf( '<a href="%s">%s</a>', esc_url( $post_link ), get_the_post_thumbnail( $post, 'large' ) ); } the_excerpt(); ?> </article> <?php endwhile; ?> <?php else : ?> <p><?php echo esc_html__( 'It seems we can\'t find what you\'re looking for.', 'hello-elementor' ); ?></p> <?php endif; ?> </div> <?php wp_link_pages(); ?> <?php global $wp_query; if ( $wp_query->max_num_pages > 1 ) : ?> <nav class="pagination"> <?php /* Translators: HTML arrow */ ?> <div class="nav-previous"><?php next_posts_link( sprintf( __( '%s older', 'hello-elementor' ), '<span class="meta-nav">←</span>' ) ); ?></div> <?php /* Translators: HTML arrow */ ?> <div class="nav-next"><?php previous_posts_link( sprintf( __( 'newer %s', 'hello-elementor' ), '<span class="meta-nav">→</span>' ) ); ?></div> </nav> <?php endif; ?> </main>