-
Website
http://dancameron.org/ -
Original page
http://dancameron.org/general/search-everything-421-release -
Subscribe
All Comments -
Community
-
Top Commenters
-
LillyLipscomb
1 comment · 1 points
-
paynito
1 comment · 1 points
-
stevehahn
8 comments · 1 points
-
futurelevel
2 comments · 1 points
-
Jason Hansen
4 comments · 2 points
-
-
Popular Threads
-
Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript
2 weeks ago · 11 comments
-
Display a loading image until the page completes loading
4 days ago · 1 comment
-
Go Dodgers!
3 weeks ago · 1 comment
-
Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript
got a question about the tag searching. There is a problem when searching a multiple words tag, let's say "hello world": if you search hello world straight you won't find that tag, because it's stored as "hello-world" in the db. Can you work around it in a future release?
Thanks. :-)
hello worldwould mean two tags, whereas"hello world"would be for one tag made up of two words?What I suggest is not hacking the search adding the minus between words, that would change the meaning of the search, but hacking the search tag results, removing the minus between the words.
I've made quite an unhappy example with hello world. But think about new york times. Let's say I've written a post without new york times in the body, maybe a one line one, but I want to explicit it in the tags. A search for new york times wouldn't return that post.
A php friend of mine have suggested an home solution for this and it seems quite simple indeed.
It should be something about changing
$where .= " OR ( tter.slug LIKE '%" . $wpdb->escape($wp_query->query_vars['s']) . "%') ";in the search tag function with
$where .= " OR ( tter.slug LIKE '%" . str_replace(' ', '-',$wpdb->escape($wp_query->query_vars['s'])) . "%') ";What about this?
In the language file, I translated "
Exclude Categories (Wordpress 2.2 Only)" with "Kategorien ausschließen (nur Wordpress 2.2)", but it doesn't seem to work.And I can't find a field for "Search Every Tag" in the language file. Maybe it's missing because it's a new feature?
I'd be glad if you could let me know how to fix this. Thanks in advance, and probs for your plugin, I like it a lot!
ONE LOVE,
alohastone
Thx!
I have tried twice to register with the support forums, but the registration email never appears.
Thanks
Peter
1. it cannot search tags contains space, such as "history museum","php code"...
2. it cannot search tags in Chinese,Janpanese,Korean
there is another plugin can do a full tag search
http://wordpress.org/extend/plugins/search-tags...
but I still got problem in this plugin.I found it works fine on my pc but not work on my host. the host has a lower version of php and apache. I don't know if lower version causes the problem.
any help?
Thanks.
search "name" but not "slug" in database.
the two problem will be cleared.