D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
home
/
vblioqus
/
karachi777.vip
/
images
/
494334
/
65412
/
Filename :
search.php.tar
back
Copy
home/vblioqus/bingo-patti.cc/wp-content/themes/infopediya/search.php 0000644 00000001235 15151347156 0021642 0 ustar 00 <?php /** * The template for displaying search results pages * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result * @package Files_Custom_Theme */ get_header() ?> <div class="col-md-12 container"> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="row ml-0 mr-0 mb-10"> <?php get_template_part('template-parts/content', 'search') ?> </div> </div> </div> <div class="pagination-row row ml-0 mr-0 mt-20 mb-20"> <?php infopediya_page_navi() ?> </div> </div> <?php get_footer(); home/vblioqus/y999-game.pro/wp-content/themes/infopediya/search.php 0000644 00000006277 15151434307 0021300 0 ustar 00 <?php /** * The template for displaying search results pages. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result * * @package APK_Store_Pro */ get_header(); ?> <main id="primary" class="site-main main-content"> <div class="container"> <header class="search-header"> <h1 class="page-title"> <?php printf( esc_html__( 'Search Results for: %s', 'apk-store-pro' ), '<span>' . get_search_query() . '</span>' ); ?> </h1> <?php if ( have_posts() ) : ?> <p><?php printf( esc_html__( 'Found %s results for "%s"', 'apk-store-pro' ), esc_html( $wp_query->found_posts ), esc_html( get_search_query() ) ); ?></p> <?php else : ?> <p><?php printf( esc_html__( 'No results found for "%s"', 'apk-store-pro' ), esc_html( get_search_query() ) ); ?></p> <?php endif; ?> </header><?php if ( have_posts() ) : ?> <div class="apps-grid"> <?php /* Start the Loop */ while ( have_posts() ) : the_post(); // Get custom fields $icon = get_post_meta( get_the_ID(), 'app_icon', true ); $version = get_post_meta( get_the_ID(), 'app_version', true ); $rating = get_post_meta( get_the_ID(), 'app_rating', true ); ?> <article id="post-<?php the_ID(); ?>" <?php post_class( 'app-card' ); ?>> <div class="app-icon"> <?php echo $icon ? esc_html( $icon ) : '📱'; ?> </div> <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <div class="app-meta"> <span class="version">v<?php echo esc_html( $version ); ?></span> <div class="rating"> <span class="stars">⭐⭐⭐⭐⭐</span> <span><?php echo esc_html( $rating ); ?></span> </div> </div> <p class="app-description"><?php echo wp_trim_words( get_the_excerpt(), 20, '...' ); ?></p> <a href="<?php the_permalink(); ?>" class="download-btn"><?php esc_html_e( 'View Details', 'apk-store-pro' ); ?></a> </article> <?php endwhile; ?> </div><div class="pagination"> <?php the_posts_pagination( array( 'prev_text' => '← ' . esc_html__( 'Previous', 'apk-store-pro' ), 'next_text' => esc_html__( 'Next', 'apk-store-pro' ) . ' →', ) ); ?> </div><?php else : ?> <div class="no-results"> <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'apk-store-pro' ); ?></p> <?php get_search_form(); ?> </div> <?php endif; ?> </div></main><?php get_footer(); ?>