Wordpress Custom Post Type Search -


i have wp installation menu/restaurant theme adds custom post type "food". "food" has title , excerpt field doesn't have regular "content" field. seems default wp search facility search in title , content fields not excerpt field.

i've tried several plugins either add content field custom post type or search in excerpt field title field i've had no success.

am missing obvious?

many thanks

we've had lot of success using relevanssi plugin altering wordpress's search functionality. can have wordpress index custom fields, excerpts, , other things, , add more or less weight them in search results.

in excerpt's settings, check box shown in screenshot below:

option index post excerpts

and click bottom rebuild search index.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -