0 result
-
Hello, I installed Relevanssi, created the index and no result is showing. If I comment query in search.php, nothing is showing. Here is the content of search.php
<?php /** * The Search page of Mynote theme. * * @author Terry Lin * @link https://terryl.in/ * * @package WordPress * @subpackage Mynote * @since 1.0.0 * @version 1.0.7.0 */ get_header(); ?> <div class="category-header"> <div class="container"> <h1 id="post-title" class="search" itemprop="headline"> <?php echo get_search_query(); ?> <span class="badge badge-secondary"><?php echo $wp_query->found_posts; ?></span> </h1> <div class="term-desctiotion"><?php echo sprintf( __( '%s Search Results for %s', 'mynote' ), $wp_query->found_posts, get_search_query() ); ?></div> </div> </div> <main role="main"> <div class="container"> <?php get_template_part( 'loop' ); ?> <?php get_template_part( 'pagination' ); ?> </div> </main> <?php get_footer(); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘0 result’ is closed to new replies.