custom field value as shortcode parameter
I never worked with this plugin, just downloaded it from repository and found that they provide a filter for id value. Add this filter callback function to your functions.php file. [download id=”auto”] – will use id from your post meta (hardcoded meta name) [download id=”123″] – will use id 123 function download_shortcode_custom_id($id, $atts = []){ … Read more