Hello
I can't get it to work.
I have used this:
[meta key = "garden" id = "4543"]
garden is the metakey in the postmeta and 4543 the post id.
I have also used it like this:
[meta key = "garden" id = "[meta key =" housing "]"]]
and the function is not really how to use it:
add_filter ('e2pdf_extension_render_shortcodes_pre_do_shortcode', 'custom_value_output', 10, 5);
function custom_value_output ($ value, $ element_id, $ template_id, $ item, $ dataset) {
$ value = $ item;
// $ element_id - is the ID of the field within the E2Pdf template, can be retrieved by right-clicking -> "Properties"
// $ dataset - is the main ID of the post
return $ value;
}
I have put this in the function
and in the template:
[e2pdf_extension_render_shortcodes_pre_do_shortcode element_id = '18 'template = '12' item = 'jardin' dataset = '4543']
I feel like an idiot, but I really don't know how to do it.