Search.php problem; blank page
-
I didn’t change anything to the code, except for some translations… However the search isn’t working and I have no idea what the issue is.
Can anyone help?
My website: https://stijlvollemannen.nl
<?php require(TEMPLATEPATH . '/content-before.php'); ?> <div id="content"> <?php $theme->hook('content_before'); ?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <h2 class="generic"><?php _e( 'Zoekresultaten voor:', 'flexithemes' ); ?> <?php echo get_search_query(); ?></h2> <?php $layout_options_prefix = 'search'; require(TEMPLATEPATH . '/loop.php'); } else { ?> <h2 class="generic"><?php _e( 'Niets gevonden', 'flexithemes' ); ?></h2> <div class="entry"> <?php printf( __( 'Sorry, je zoekopdracht gaf geen resultaat: %s. Probeer het opnieuw met een andere zoekopdracht.', 'flexithemes' ), '<strong>' . get_search_query() . '</strong>' ); ?> </div> <div id="searchwrap"> <?php get_search_form(); ?> </div> <?php } ?> <?php $theme->hook('content_after'); ?> </div> <!--/content--> <?php require(TEMPLATEPATH . '/content-after.php'); ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Search.php problem; blank page’ is closed to new replies.