Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to create activity streams based on words or hashtags?

@idlewanderer

Participant

I just can’t seem to make it work..

If I add this:
$retval['search_terms'] = 'philippine tube-nosed fruit bat';

I will only get result from people writing “philippine tube-nosed fruit bat”, but I also want to get results from people writing “nyctimene rabori”, as well (the latin name of the species). Or other variants of the name, such as plural versions and such. And I need the terms to be separated somehow. And that is what I can’t figure out..

I need it to be something like this:
$retval['search_terms'] = 'philippine tube-nosed fruit bat, nyctimene rabori';

But then it won’t work.. As then only the enitre “philippine tube-nosed fruit bat, nyctimene rabori” will give results. And this one below just breaks my site:

$retval['search_terms'] = 'philippine tube-nosed fruit bat', 'nyctimene rabori';

I am getting really confused by this..

Skip to toolbar