search.php error
-
What’s wrong with my search.php? I’m totally clueless here.
search.php
<?php /* * @package themeton */ get_template_part('page', 'defaults'); $blogConf['sidebar_position']=' right'; get_header(); global $blogConf; ?> <section id="page" class="clearfix"> <!-- Start Page --> <?php if ($data['full_width'] == 'fixed') echo '<div class="container"><div class="row">'; ?> <?php if (have_posts ()) { ?> <div class="<?php if ($data['full_width'] == 'fixed') echo 'span12'; ?>"> <div class="header-page"> <h2 class="item-title"> <?php _e('Search result', 'themeton');?> </h2> <div class="page-teaser"> <div class="widget_search"><?php get_search_form(); ?></div> </div> </div> <div id="masonry" class="clearfix"> <div class="mansonry-container"> <!-- Start Featured Article --><?php if (have_posts ()) the_post(); rewind_posts(); get_template_part('loop'); ?> <!-- End Featured Article --> </div> </div> </div><?php } else { ?> <div class="<?php if ($data['full_width'] == 'fixed') echo 'span12'; ?> content-container"> <div class="row"> <div class="<?php echo $blogConf['content_span']; ?>"> <div class="item-single "> <div class="not-found-message"> <h1><?php _e( 'Not Found', 'themeton' ); ?></h1> <p><?php _e('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'themeton'); ?></p> </div> <div class="widget_search"><?php get_search_form(); ?></div> </div> </div> <div class="span3"><?php $blogConf['sidebar_position'] = "right"; get_sidebar(); ?> </div> </div> </div><?php } ?> <?php if ($data['full_width'] == 'fixed') echo '</div></div>'; ?> <?php infiniteScroll(); ?> <!-- End Page --> </section><?php get_footer(); ?>
There’s no searchform.php. See example: https://kuppikahvia.com/?s=saksa
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘search.php error’ is closed to new replies.