Vc esta usando o search.php em seu template? Se sim, cole o codigo. Se não cole o codigo do index.php.
Aguardo.
Criador do tópico
fermel2
(@fermel2)
estou usando o padrão do tema
no menu de widgets tinha um widtget de pesquisar e coloquei no site
esta ai o codigo do arquivo search.php
<?php
/**
*
* search.php
*
* The search results template. Used when a search is performed.
*
*/
get_header(); ?>
<div class="mdlayout-wrapper">
<div class="mdcontent-layout">
<div class="mdcontent-layout-row">
<div class="mdlayout-cell mdsidebar1">
<?php get_sidebar('default'); ?>
<div class="cleared"></div>
</div>
<div class="mdlayout-cell mdcontent">
<?php get_sidebar('top'); ?>
<?php
if(have_posts()) {
theme_post_wrapper(
array('content' => '<h4 class="box-title">' . sprintf( __( 'Search Results for: %s', THEME_NS ),
'<span class="search-query-string">' . get_search_query() . '</span>' ) . '</h4>'
)
);
/* Display navigation to next/previous pages when applicable */
if (theme_get_option('theme_top_posts_navigation')) {
theme_page_navigation();
}
/* Start the Loop */
while (have_posts()) {
the_post();
get_template_part('content', get_post_format());
}
/* Display navigation to next/previous pages when applicable */
if (theme_get_option('theme_bottom_posts_navigation')) {
theme_page_navigation();
}
} else {
theme_404_content(
array(
'error_title' => __('Nothing Found', THEME_NS),
'error_message' => __('Sorry, but nothing matched your search criteria. Please try again with some different keywords.', THEME_NS)
)
);
}
?>
<?php get_sidebar('bottom'); ?>
<div class="cleared"></div>
</div>
<div class="mdlayout-cell mdsidebar2">
<?php get_sidebar('secondary'); ?>
<div class="cleared"></div>
</div>
</div>
</div>
</div>
<div class="cleared"></div>
<?php get_footer(); ?>