Title: Adapting the search function
Last modified: August 19, 2016

---

# Adapting the search function

 *  [Lawcom](https://wordpress.org/support/users/lawcom/)
 * (@lawcom)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/adapting-the-search-function/)
 * I would like to adapt the search function I’m using to only search the blog (
   including archive) and not the other pages or catagories.
 * How do I ask the search function not to look in other catagories or just to look
   in the blog section ?
 * Any ideas …

Viewing 1 replies (of 1 total)

 *  Thread Starter [Lawcom](https://wordpress.org/support/users/lawcom/)
 * (@lawcom)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/adapting-the-search-function/#post-1099128)
 * I’d like to bump this as I have still not found a solution.. perhaps I should
   elaberate ..
 * I want to search feature to return only certain results..
 * At present it returns results from other pages which are laid out differently
   with a different back ground ie: the side bar removed and the whole space used
   for graphics and text..
 * Perhaps the simplesolution would be to add some php that strips images ? and 
   layout and only shows text !!!
 * Or some way that search does not search that particular category ..
 * Any ideas

Viewing 1 replies (of 1 total)

The topic ‘Adapting the search function’ is closed to new replies.

## Tags

 * [search function](https://wordpress.org/support/topic-tag/search-function/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Lawcom](https://wordpress.org/support/users/lawcom/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/adapting-the-search-function/#post-1099128)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
