Title: Searching Posts
Last modified: August 20, 2016

---

# Searching Posts

 *  [silverj93](https://wordpress.org/support/users/silverj93/)
 * (@silverj93)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/searching-posts/)
 * Hi there!!!
 * I am having issue using the search box of my website. The search only looks at
   the titles of the posts and nothing else. Any thoughts?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/searching-posts/#post-2890522)
 * Are you using the default search box that ships with WP, or a search plugin?
 * > The search only looks at the titles of the posts and nothing else.
 * How do you know this for sure? Try creating a new post with a single, randomly
   made-up word, such as “sildhlie” for its content. Publish it, and then search
   for that word.
 *  Thread Starter [silverj93](https://wordpress.org/support/users/silverj93/)
 * (@silverj93)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/searching-posts/#post-2890573)
 * I am not sure to be completely honest. There is a code in the search.php file(
   doesn’t that mean it is not the default search box being used?). Could you look
   at the search code for me perhaps?
 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/searching-posts/#post-2890582)
 * What theme are you using?
 * Try my trick above and see what happens.
 *  Thread Starter [silverj93](https://wordpress.org/support/users/silverj93/)
 * (@silverj93)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/searching-posts/#post-2890656)
 * I did try the trick. It only searches by title.
 * And I am using a weird/highly customized theme that the company I work for provided.
   Should I send the code that is in search.php? Would that help you be able to 
   determine what is happening? Thanks so much!
 *  [kjodle](https://wordpress.org/support/users/kjodle/)
 * (@kjodle)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/searching-posts/#post-2890663)
 * You can paste it in pastebin.com and post a link here.
 * See this:
    [http://codex.wordpress.org/Forum_Welcome#Posting_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)
 *  Thread Starter [silverj93](https://wordpress.org/support/users/silverj93/)
 * (@silverj93)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/searching-posts/#post-2890697)
 * [http://pastebin.com/R5HaAW2Y](http://pastebin.com/R5HaAW2Y)
 * Here you go! Sorry it took so long. This code is what is in te search.php file.
   It looks like it should look into the content but it doesnt 🙁 Also would it 
   be possible to search by tags as well?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Searching Posts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [silverj93](https://wordpress.org/support/users/silverj93/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/searching-posts/#post-2890697)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
