lostechies / wordpress

Our wordpress install
http://lostechies.com
Other
3 stars 2 forks source link

Search is not site wide, only in the current blog. Alignment is off also. #1

Open jmeridth opened 13 years ago

jmeridth commented 13 years ago

From many views and different accounts, search always results in an empty result set/page.

jmeridth commented 13 years ago

the actual error:

[Thu Mar 24 20:13:55 2011] [error] [client 50.84.68.58] PHP Fatal error: Call to undefined function get_generic_template() in /var/www/apps/wordpress/wp-content/themes/lostechies/search.php on line 8, referer: http://lostechies.com/jasonmeridth/2008/11/30/ptom-november-2008-visitor-design-pattern/

It is complaining about the get_generic_template method in search.php

jmeridth commented 13 years ago

Found the bug that was killing search.

Fixed it, but realize now that the search text boxes are unique to the blog you're in:

http://lostechies.com/?s=ruby (the default site) - no results http://lostechies.com/jasonmeridth/?s=ruby - results

Also the sidebar is pushed under the search results div. I'll fix soon. But at least we get something now.

I may have to look at doing the Google Search stuff like CodeBetter.com

mxriverlynn commented 13 years ago

i can't get search to work at all. everything i search for returns the full list of all my blog posts, no filtering based on the search criteria.

jmeridth commented 13 years ago

You are correct. It has changed. I'll take a look when I can.

We have a Wordpress upgrade coming soon too.

dahlbyk commented 11 years ago

Friend online noted this is still broken... http://lostechies.com/?s=controllers

Oddly, http://lostechies.com/?s=git returns all blog posts...

dahlbyk commented 11 years ago

Maybe just swap out WordPress search for https://www.google.com/cse/?

jmeridth commented 8 years ago

Need to look at installing and using https://wordpress.org/plugins/google-custom-search/