Thread Starter
toroby
(@toroby)
The answer was in the pdb-single-single-value.php of the plugin. I didn’t understand the custom templates section of the documentation, sorry I didn’t look further before asking.
/*
* template for showing a single value from a record
*
* the field to show must be defined in the shortcode using the “fields” attribute:
* [pdb_single template=”single-value” fields=”first_name”]
*
* this template requres the id of the record to get the value from be provided,
* either as a variable in the URI (?pdb=123) or as a shortcode attribute
* [pdb_single template=”single-value” record_id=”123″ fields=”first_name”]
*
*/