| Server IP : 104.21.31.197 / Your IP : 172.64.213.155 Web Server : nginx/1.20.2 System : Linux 172-104-110-161.ip.linodeusercontent.com 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64 User : www ( 1000) PHP Version : 8.1.9 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/lenovo-drivers.com/wordpress/wp-content/themes/wp-bootstrap-4/ |
Upload File : |
<?php /** * The template for displaying search results pages * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result * * @package WP_Bootstrap_4 */ get_header(); ?> <?php $default_sidebar_position = get_theme_mod( 'default_sidebar_position', 'right' ); ?> <div class="container"> <div class="row"> <?php if ( $default_sidebar_position === 'no' ) : ?> <div class="col-md-12 wp-bp-content-width"> <?php else : ?> <div class="col-md-8 wp-bp-content-width"> <?php endif; ?> <section id="primary" class="content-area"> <main id="main" class="site-main"> <?php if ( have_posts() ) : ?> <header class="page-header mt-3r"> <h1 class="page-title"><?php /* translators: %s: search query. */ printf( esc_html__( 'Search Results for: %s', 'wp-bootstrap-4' ), '<span>' . get_search_query() . '</span>' ); ?></h1> </header><!-- .page-header --> <?php /* Start the Loop */ while ( have_posts() ) : the_post(); /** * Run the loop for the search to output the results. * If you want to overload this in a child theme then include a file * called content-search.php and that will be used instead. */ get_template_part( 'template-parts/content', 'search' ); endwhile; the_posts_navigation( array( 'next_text' => esc_html__( 'Newer Posts', 'wp-bootstrap-4' ), 'prev_text' => esc_html__( 'Older Posts', 'wp-bootstrap-4' ), ) ); else : get_template_part( 'template-parts/content', 'none' ); endif; ?> </main><!-- #main --> </section><!-- #primary --> </div> <!-- /.col-md-8 --> <?php if ( $default_sidebar_position != 'no' ) : ?> <?php if ( $default_sidebar_position === 'right' ) : ?> <div class="col-md-4 wp-bp-sidebar-width"> <?php elseif ( $default_sidebar_position === 'left' ) : ?> <div class="col-md-4 order-md-first wp-bp-sidebar-width"> <?php endif; ?> <?php get_sidebar(); ?> </div> <!-- /.col-md-4 --> <?php endif; ?> </div> <!-- /.row --> </div> <!-- /.container --> <?php get_footer();