Search includes WPUF custom fields?

This topic contains 7 reply and 3 voices, and was last updated by Tareq Hasan 10 years, 5 months ago
Viewing 7 Posts - 1 through 7 (of 7 total)
Author Posts
October 9, 2013 at 5:45 am 8860
Tareq Hasan Hello Support, I have a form that includes many custom fields. The form, upon submittal, creates a page just fine! And the custom fields appear on the page. However, when I do a normal Wordpress search for a term that is within the custom field, the search feature cannot see these custom fields. Is there another more powerful search plugin I should be using? Thanks, Carol
October 9, 2013 at 8:08 am 8861
Mahi Mahi

Hello Carol,

When you create form and add custom fields make sure you are using right meta_key . WordPress search all depends on it.

Are you using any search plugin or its build-in with your theme functions?

October 9, 2013 at 8:18 am 8862
Carol Carol

Hello Mahi,
I don’t know what you mean by using the right meta-key. Each of my custom fields has a meta key, which is basically also the name of the custom field. For example, I have a date field, and the meta key has “date”.

I am using the built in search function. I’m just using the Twenty Thirteen theme for now.

Thanks,
Carol

October 9, 2013 at 8:21 am 8863
Mahi Mahi

can you share your site url? then it would be easier to point light in to right direction. You can set private reply if you want.

October 9, 2013 at 8:28 am 8864
Carol Carol This reply has been marked as private.
October 9, 2013 at 9:08 am 8866
Mahi Mahi

Carol,

for custom fields search it will not works with default WordPress search function.

you have to use either more advanced search plugin or build own.

some free plugins:

http://wordpress.org/plugins/search-everything/ (try it first)

http://wordpress.org/plugins/relevanssi/

Premium:

Search widget – http://wedevs.com/plugin/advanced-search-widget/

October 9, 2013 at 9:39 am 8867
Carol Carol

Hi Mahi,
Thanks for testing this. I tried the first two search plugins, but they did not work. So, I’ll try the advanced search widget next.

One other question: Are the custom fields in the page record, or are they kept in a separate area of the database?

Carol

October 10, 2013 at 12:07 am 8888
Tareq Hasan Tareq Hasan

They are kept in the wp_postmeta as WordPress standard, no other table is being used.

Viewing 7 Posts - 1 through 7 (of 7 total)