1
vote
0answers
101 views

Exclude image titles from search results

I would like to exclude image titles from search results. For instance, if I have an image called image-wikipedia.jpg, right now, if I search for Wikipedia the story that uses that image is returned ...
1
vote
1answer
286 views

Do not allow to search certain words

I would like to delete (not allow) searches with certain keywords (eg "of", "a"). If the search is done using exactly these terms, do not return anything or redirect to 404 page ... Thanks guys.
3
votes
1answer
1k views

Exclude Specific Term from Search

It is possible to search for posts with a specific term by appending the URL with: ?&term=abc Is it possible to do the opposite and search excluding a specific term? Something like: ...
0
votes
1answer
671 views

Search results to be only posts & children of page ID

I'm trying to have my search results show only results that are a child of the 'news' category or a child of the 'work' page (ID = 16). This is what I have so far: function SearchFilter($query) ...