Custom imported fields still do not display on front end despite ok in backend
I've read several solved ones that have helped...having problems still with the custom data showing on the listing despite important and showing in backend. I read a couple other threads about this but they didn't apply or work.
I've created some custom forms.
Already have a child theme.
Added functions.php with the following code:
function my_va_csv_importer_args( $args ) {
$args['custom_fields'] = array_merge( $args['custom_fields'], array(
'billing-address' => 'app_billing-address',
'cc-type' => 'app_credit-card-type',
'cc-last-four' => 'app_last-4-digits-of-credit-card',
...etc...
) );
return $args;
}
add_action( 'va_csv_importer_args', 'my_va_csv_importer_args' );
I have created the new column names in the csv file.
I successfully import all records.
In the backend on the listing I can see the custom fields and they are populated with the imported data.
On the frontend the custom data does not display.
If I edit the record there and save then it does display.
So basically I've added custom forms and fields and imported custom data without a problem as it is there but it does not display on the front end.
Any help?