Replace following line
$result .= 'echo do_shortcode('. get_term_meta($term_id, 'audioreco_64856', true) .')';
with
$result .= do_shortcode(''. get_term_meta($term_id, 'audioreco_64856', true) .'');
Echo the result of function
<p><?php echo first_audio(); ?></p>
Related Posts:
- Call a custom field in an audio shortcode?
- explode array within shortcode
- Change behavior of “Insert into Post” based on attachment metadata
- Add new “Insert Into Post” button with another function
- wp_editor in add_meta_boxes does not show gallery
- Custom field for default gallery
- Execute/Parse Shortcode in Native WordPress Custom Field Value Field
- Create WordPress shortcode with php code inside
- Display WP-Types custom fields in post [closed]
- Should custom meta boxes be able to output shortcodes the same as WordPress’ native post editor?
- Shortcode To Display Post Custom Field Value Inside Excerpt
- modify wordpress caption shortcode
- How to create a shortcode to print specific values stored in a post meta array?
- Insert a custom field into a shortcode and use it in post(s)
- Custom wysiwyg editor doesn’t execute shortcodes?
- Custom Field 101
- shortcode in a custom metabox
- Can data from a Custom Field data be used by a shortcode on a per page/post basis?
- Shortcode To Display Post Custom Field Value in Post Title, Post Content
- custom field (video/audio url) and embed functionality
- IF Custom field value equals ZERO
- Display MP3 as media using an URL from a custom field
- Using a custom field inside a shortocde
- Adding simple (one button) Audio player using Custom Fields?
- Enable a short code in the custom meta field
- do_shortcode close
- Plugin or shortcode for ISBN number?
- How to pass custom field value to shortcode?
- Replacing custom field with shortcode
- Shortcode for Custom Field of Media Attachment (to use with Featured Images)
- Is it possible to add Term Meta Fields to a WooCommerce Attribute?
- how can i show WordPress custom field data to my short code?
- meta_query to check all custom fields
- Search fails when using the radio buttons
- Create Shortcode shows only posts with custom_field meta
- Output Custom Field value to shortcode
- PHP and Shortcode Combination
- Stop truncation of shortcodes in custom text fields?
- Retrieving Advanced Custom Field within Shortcode Function [closed]
- Using ACF Custom Field value in a URL with do_shortcode() [closed]
- Running a Gallery Shortcode in a Custom Fields Widget
- Custom field in a shortcode?
- Display meta data from a custom field within plugin Category Grid View Gallery
- Insert wp gallery shortcode into custom textarea
- Displaying shortcode content inside custom field without images
- Parse Shortcodes in Theme’s Custom Field?
- Insert shortcode before and after a list automatically
- Retrieving custom field as shortcode
- Custom fields doesnt work well with any postTAB plugin
- How to include custom field in shortcode (do_shortcode) in theme file
- Shortcode not picking up custom field
- get_the_ID() retrieves same ID on Gutenberg’s Query Loop
- Append custom field items to content from plugin
- Redirecting to an external URL
- Check if value exists before saving
- Echo out custom fields in comments
- Get meta value when the page is a blog archive
- Saving and using Custom Field in user settings/profile “Checkbox list”
- Why WordPress takes time to make request to save post?
- Text in header as a page – hide from Web crawlers
- Custom Metabox Always shows box and checked
- Show comon custom field results?
- Search one custom field?
- Can’t save meta field value if the title not set
- Create custom query for search?
- Add Image With Changeable Link in Custom Field [closed]
- update_user_meta(): invisible data storage
- Get a different meta value with ajax when different elements are clicked
- Extend WP_User_Query or WP_User to return all custom fields?
- Display Data From This Custom Media Upload Meta Box?
- Quicktag button to automatically add a custom field to a post
- Delete custom fields on post publish?
- display Flexible Fields from options
- Sort custom fields in admin by last field added
- Display custom fields only if it has a value
- Custom fields and auto save
- Save values generated via API as custom meta fields
- Extra text’n’image field in a page
- Ordering posts by custom fields
- Get first URL from custom field, download and set as featured image on post publish
- Query postmeta values, and return multiple post_titles for common meta value
- Query Custom Fields in Searchform
- Make custom user_meta as permalink for post
- Creating Structured Documents (books) in WordPress?
- Term specific featured post on taxonomy archive pages
- Custom Info Box at end of posts?
- WordPress core playlist function not showing artist and album info
- Filter query based on date in custom field
- Populate a select box with data stored in the database?
- Custom Post Field -> Returning only the word “array”
- Register author, facebook connect, publish posts from front end
- How do I use foreach to get content from a custom-field in multiple posts?
- Custom field and category query
- Why is wp_list_pages altering $post->ID of the page?
- Empty the_content for all posts
- When post is updated, custom metadata in text area field is overwritten
- Updating custom fields with external data
- Display Child Page with custom fields within Parent Page
- How to disable ‘enclosure’ custom field link from appearing in the post
- Thirtieth century date for a post