I havent tested yet but I think can work, what I would do is create a function to create a new shortcode from those to doing this.
function new_shortcode() {
$urlmusic = get_field('sound_file_1');
echo do_shortcode("https://wordpress.stackexchange.com/questions/319702/$urlmusic");
}
add_shortcode( 'audioACF', 'new_shortcode' );
Use [audioACF]
Related Posts:
- Unable to check if plugin is active
- How to get current post ID in Contact Form 7 wpcf7_before_send_mail hook action
- Using Advanced Custom Fields with WordPress and Lightbox
- How to store ACF custom fields data in a custom table
- Generate Advanced Custom Fields box in custom admin menu page
- Edit Imported advanced Custom Fields from wordpress Dashboard
- Custom field in TWIG template – Advanced custom fields plugin
- Advanced Custom Fields query
- How do I add advanced custom fields / meta fields to Elasticsearch? [closed]
- How to create Repeater fields using Advanced Custom Fields?
- Loop with array of posts using ‘Advanced Custom Fields’ plugin [closed]
- WordPress and WebRTC?
- Using ACF to display data on all pages
- Advanced Custom Fields/User Role Editor – how to hide ACF for certain users?
- Last modified field for user profile?
- WP_Query ordering numbers as letters
- Get post by ASC from custome field DATE picker
- Getting value from Advanced Custom Fields [closed]
- How can you include a theme template file from within a plugin (i.e. WooCommerce’s Shop page)?
- Inserting HTML tag with ACF into shortcode
- Advanced Custom Fields plugin – get text from editor field and save it in a variable
- Pull out Advanced Custom Fields in Related post plugin
- mp3 audio metadata upload integration: can I autopopulate title, caption, description from id3 tags?
- Using a post-signup hook to get user details
- Matching Chapters to a Custom posts [closed]
- Advanced Custom Fields displaying on tag pages
- Changing “elapsed time” to “time remaining” on MP3-jPlayer audio player with CSS or PHP changes
- Custom Fields with Pods not being translated
- is there a way to link one of the field in ACF field group, to a field in a media attachment page? [closed]
- How to remove the inline styles from the content of a WYSIWYG editor field at the time of saving the post?
- add custom filters to the event calendar plugin programatically to frontend [closed]
- dirname( __FILE__) returning wrong directory inside plugin
- ACF: post query, hide duplicate values [closed]
- Redirect to another page using contact form 7? [closed]
- Paid Membership Pro with ACF [closed]
- ACF only showing up in Homepage but doesn’t appears in all pages
- Advanced Custom Fields – Disable Users to Edit Custom Fields
- Using ACF default value to autoincrement a number field
- URLs Added to ACF Repeater Field are not working
- Advanced Custom Fields – Get value in other plugin file [closed]
- Slashes stripped in ACF
- Remove Advanced Custom Fields plugin for client?
- Adding class to last list item? Not WP generated
- How do we update a custom file upload field with the Advanced Custom Field plugin?
- Advanced Custom Fields (acf) – Filter Relationship by Taxonomies not Post Type
- ACF – How to set the menu order for the relationship field
- Conditional custom redirect
- Preview with Custom Post Type Not Working
- How to display a number of posts based on a Advanced Custom Field (ACF)
- Translation to ACF relationship field
- How to get the get the select values created by ACF plugin in wordpress
- Advanced custom fields and Slideshow gallery desn’t work together? [closed]
- Advanced Custom Fields Plugin – Images not displaying
- Can Postie be used to submit podcasts via email?
- Error Using Audio plugin
- How to create repeater field manually, without plugin (ACF Pro)?
- How to validate custom fields in Quick edit/bulk edit?
- Replace the_content with ACF Flexible Content via function
- acf backend error handling
- Setting Author on CPT
- Can’t load the the canges of field groups [duplicate]
- Multisite – Cloning CPT pages + content (including ACF Flexible Content) from site to site
- ACF checkbox return format based on page
- custom fields not displaying on wordpress site
- ACF Fields are not showing up on Homepage
- Why Custom fields description is not working WordPress Version 5.4.2?
- Images are broken in Wysiwyg Editor – ACF backend
- make p tag collapsed after 3 rows
- How do I change the functionality of an image slider which is part of ACF?
- Change the color of ACF Subtitle output background
- Will downloading a page builder plugin delete my existing data?
- Add Custom Field to Post Pages via Plugin
- Returning incorrect $post->ID after installing plugin
- ACF Query result in a new td (echo)
- Get only selected custom taxonomy
- ACF Taxonomy search on backend (Relationship field)
- Get a Taxonomy values in an array
- Else If statement for ACF [closed]
- Continous audio play in pages
- plugin_dir_url(__FILE__) searches parent theme in ACF extension
- WordPress audio player add class randomly using Audio Album plugin
- Media Playlist Plugin
- WordPress Background Audio – Continous AutoPlay
- How to use categories in the URL with Advanced Custom Fields?
- Advanced Custom Field User Help URL
- Define constant for one plugin in mu-plugin
- Hide/Show panel not showing – ACF
- Pulling Advanced Custom Fields from other pages
- ACF: Hide a div or template section when a custom field (in a field group) is empty
- Custom time field won’t sort regardless of format
- Auto play audio using WP Maintenance Mode Plugin [closed]
- How ACF Advanced Custom Field works with Woocommerce Single Product [closed]
- ACF Taxonomy Object term Null [closed]
- Display HTML5 jQuery Audio Player On Front Page
- Update acf field in woocommerce orders
- Need help with wordpress audio preload
- True/False ACF field returning null by default even if default value is true
- Sort posts by Date (DESC) and by ACF: active_inactive (ASC)
- ACF prugin for WooCommerce Shop Page
- Using ACF to allow user to add and edit multiple saved forms