Wordpress and the NO result search page

Hello,

We just added Google search to our wordpress, there is a problem: Beside the fact that we hided the normale wordpress search, the NO RESULT page still appear like that:

http://beginfromhere.com/site/directory/wpbdp_tag/egsdgfgsdf

But what we are looking to have, is like that:

How it is possible to make this?

Thank you for your help

Are you using a plugin and if so what plugin? Either way try:

  • Check your 404.php template file and make sure it’s using comments_template() and not manually outputting the manual <input name="s"> form.
  • If it has comments_form() check that you have a comments.php file with comments_form() in it

Usually if you add a plugin and it updates the search field in one place and not another it’s because the theme is trying to manually recreate the search field instead of using the core wordpress methods to do it.

Thank you @OzRamos for your support, yes we are using Wordpress Business Directory as plugin, and this is a copy of my theme 404.php file:

<?php
/**
 * The template for displaying 404 pages (Page Not Found).
 *
 * @package ThemeGrill
 * @subpackage ColorMag
 * @since ColorMag 1.0
 */
?>

<?php get_header(); ?>

	<?php do_action( 'colormag_before_body_content' ); ?>

	<div id="primary">
		<div id="content" class="clearfix">
			<section class="error-404 not-found">
				<div class="page-content">

					<?php if ( ! dynamic_sidebar( 'colormag_error_404_page_sidebar' ) ) : ?>
						<header class="page-header">
							<h1 class="page-title"><?php _e( 'Oops! That page can&rsquo;t be found.', 'colormag' ); ?></h1>
						</header>
						<p><?php _e( 'It looks like nothing was found at this location. Try the search below.', 'colormag' ); ?></p>
						<?php get_search_form(); ?>
					<?php endif; ?>

				</div><!-- .page-content -->
			</section><!-- .error-404 -->
		</div><!-- #content -->
	</div><!-- #primary -->

	<?php colormag_sidebar_select(); ?>

	<?php do_action( 'colormag_after_body_content' ); ?>

<?php get_footer(); ?>

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.