I would very much LOVE to be able to do this as well! I have been searching and searching, but I haven’t found a viable solution yet. : (
Thanks Fyod! Can you post a more complete chunk of the code for me? I’ve made some additional modifications to the plugin, and my line numbers don’t match anymore. 😉
Hi there,
Posting here because the other thread was closed…
I tried the patch suggested above and it works great, EXCEPT that I’m having the same issues as the other posters: the final (right-most) column of meta data is generated with the correct title (<th>), but containing the data from the previous custom field.
http://pdx.patientphysiciancoop.com/primary-care-directory/
If I change
if( $opt_meta ) : foreach( $opt_meta as &$key ) {
to
if( $opt_meta ) : foreach( $opt_meta as $key ) {
then the data is now correct, but the custom field columns with $title definitions are now empty.
I have been unable to find a fix.