I am working on a site where people can submit recommendations for a literary award. The recommendations are then output into a searchable, sortable table using the DataTables plugin, all of which works fine.
What I haven't been able to find a simple solution for is how to include this in the standard WordPress search results. Is this possible (e.g. with custom query)? Has anyone here done this, or can point me towards an example? I've looked through the forums and haven't found anything, and also looked at a lot of different examples for including non-standard data in search results, but I would really appreciate any suggestions on how this may be done.
March 6, 2005
For a couple of reasons. As I said, I'm using cforms for user-submitted recommendations for a literary award, and the organisation running the award had some specific requests in terms of this which only cforms could do (a long list of various things).
What was important is these recommendations (author title, etc and comment from recommender) would also appear on the site, for which I'm using datatables to manage.
You can see this here: http://tiptree.org/recommend-works-for-the-2012-james-tiptree-jr-award
The thing is data in the tables turns up in google search results, and as part of making all the award information on the site properly accessible, I was hoping to be able to use the standard WordPress search to also pull in the cforms data.
From Google site:tiptree.org Blue Feather
But on the site itself: http://tiptree.org/?s=Blue+Feather&submit.x=0&submit.y=0&submit=Search gives nothing (as a note this is the current old theme which is being replaced shortly)
I'm using the Relevanssi plugin and have written a function to deal with pulling in data from custom fields using wpdb, and I was thinking there would be a way to do this getting the data from the cforms tables but unsure how to go about this.
Thanks for your help.
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3750
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)