Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

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

Open
jmeridth opened this issue Mar 24, 2011 · 7 comments
Labels

Comments

@jmeridth
Copy link
Member

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

@jmeridth
Copy link
Member Author

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
Copy link
Member Author

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
Copy link

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
Copy link
Member Author

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

We have a Wordpress upgrade coming soon too.

@dahlbyk
Copy link
Member

dahlbyk commented Oct 26, 2013

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

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

@dahlbyk
Copy link
Member

dahlbyk commented Oct 26, 2013

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

@jmeridth
Copy link
Member Author

jmeridth commented Mar 3, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants