PLease try restart server or clear server cache with your provider as it seems that file is still there and cached.
Thread Starter
wassa
(@wassa)
Thanks @dignity1988 – we host at afrihost and they say there is nothing wrong their side it is a WordPress issue. I ftp’d on to the site and made sure the files were not there. I cannot restart the services or hosting there so need to assume they have done that.
So at the moment I has a site with no search capabilities.
Thanks
Thread Starter
wassa
(@wassa)
Just tried to change themes and installed WP Google Search pllugin – and that appears to never get called.
Hello @wassa. I @assume your theme may use cusom call to search function and template with different name since get_template_part() function exists.
However you may try to turn off one by one template files and functions. I se the body class “search-results” for search page functionality and the default search may be disable in your theme. YOu may ask advice regarding this options in theme support or make a short investigation in your theme to find out where and how serach function work. Maybe provide us with link to Paid trial version of theme. The search filter may be the 3-d party plugin. And In case you theme were fully workable with search from the box try out disabling third party plugins one by one as it is common magic to remove most of the covered bugs and issues.
-
This reply was modified 7 years, 4 months ago by
dignity1988.
Thread Starter
wassa
(@wassa)
@dignity1988 thanks for replying. The theme is i-excel a free theme. If you look at the header.php it renders the search input with this code:
<div class="topsearch">
<?get_search_form(); ?>
</div>
I have added a google GSE there and that works, it just looks nasty.
The search results are displayed also via their header.php as follows:
elseif ( is_search() ) {
echo '<h1 class="entry-title">';
printf( __( 'Search Results for: %s', 'i-excel' ), get_search_query() );
echo '</h1>';
}
That is the code direct from their header.php – I cannot find any other plugins that i may use, but perhaps I am looking in the wrong place.
Thread Starter
wassa
(@wassa)
I found the issue. It looks like the one plug “The Post Grid” was controlling the search output – not sure how just yet.
I had to upgrade to the latest version and it works really well now, you can custom design the way you have the search grid displayed.