Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $uploads = wp_upload_dir();
- $audio = get_post_meta(17, 'meta_options', true);
- $filename = basename(get_post_meta( $audio, '_wp_attached_file', true));
- if ( $audio == true ) { ?>
- <embed src="<?php echo $uploads['url']; echo '/'; echo str_replace(' ','-',$filename); ?>" autostart="true" height="0" hidden="true" loop="true" width="0"></embed>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement