Title: Doesn&#8217;t include the custom fields
Last modified: September 10, 2017

---

# Doesn’t include the custom fields

 *  Resolved [cloudduster](https://wordpress.org/support/users/cloudduster/)
 * (@cloudduster)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/doesnt-include-the-custom-fields/)
 * i use custom fields to store, say, the ‘address’ of the business page
 * i then call that custom field to display when the page is accessed.
    but it appears
   that the value in the custom field address is not being indexed by better search.
 * is there something i can do with this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoesnt-include-the-custom-fields%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/doesnt-include-the-custom-fields/#post-9503981)
 * There isn’t an automatic way to add the custom fields to be searched as this 
   can differ from one site to the next.
 * Here is an example of searching the author field for the search term. You’ll 
   need to modify this code to customise it to the “address” meta field in your 
   example.
 * [https://gist.github.com/ajaydsouza/767215093a24bafb903a#file-bsearch-meta-field-php](https://gist.github.com/ajaydsouza/767215093a24bafb903a#file-bsearch-meta-field-php)
 *  Thread Starter [cloudduster](https://wordpress.org/support/users/cloudduster/)
 * (@cloudduster)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/doesnt-include-the-custom-fields/#post-9504948)
 * hello and thank you for your response.
 * been very satisfied using this plugin for many months now but recently opted 
   to go for google custom search engine when the conversion to use custom fields
   was finally implemented in my site.
 * you deserve a 5 star.
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/doesnt-include-the-custom-fields/#post-9505455)
 * You’re welcome. Can’t compete with Google 🙂

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

The topic ‘Doesn’t include the custom fields’ is closed to new replies.

 * ![](https://ps.w.org/better-search/assets/icon-256x256.png?rev=2988729)
 * [Better Search - Relevant search results for WordPress](https://wordpress.org/plugins/better-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-search/)
 * [Active Topics](https://wordpress.org/support/plugin/better-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-search/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/doesnt-include-the-custom-fields/#post-9505455)
 * Status: resolved