Epiphany
Forum Replies Created
-
Forum: Plugins
In reply to: [Add From Server] Plugin doesn’t update media meta@chowardart
Thanks for your reply, but what you are saying is quit different from what am saying.I have an mp3 file that has id3 tags already. So how do I add
wp_generate_attachment_metadata
To the plugin so that it will generate the meta data of the imported file.
- This reply was modified 4 years, 2 months ago by Epiphany.
Forum: Plugins
In reply to: [Media from FTP] Will it work with add_attachment action@katsushi-kawamori
Thank you very much for this plugin, I just tested it on local host it’s working perfectly.
Thank you very much??Forum: Developing with WordPress
In reply to: How to use audio cover image as post featured imageI’m a step away from solving my problems, which action fires immediately after wordpress finished crunching an attachment.
I know about add_attachment it fires immediately after uploading a post – when wordpress has not generated meta data and featured image of audio files.Forum: Developing with WordPress
In reply to: How to use audio cover image as post featured image@a2hostingrj
Thanks for your help but the code I saw there didn’t work.I use the code below to extract the artist of the song. So I need something similar to this.
$file = get_attached_file( $attachment->ID ); $metadata = wp_read_audio_metadata( $file ); $Artist = $metadata['artist'];
Forum: Developing with WordPress
In reply to: Make wordpress read Album Artist id3 tag@bcworkz
Thank you very much for your support. After some days of research I finally solved the problem.
Here what I did, wordpress picks up the Artist of the Audio, let’s say Luis Fonsi ft Daddy Yankee.
So to get the album artist Luis Fonsi. I used str_replace to remove ft daddy Yankee. So that it will return only Luis Fonsi.But I have one last question, I want to use the audio featured image/ cover image as the featured image of any post it is attached to. Please help me out.
Thank for your great support!
Forum: Developing with WordPress
In reply to: Make wordpress read Album Artist id3 tagThank you very much for replying, I saw the code above on WordPress Stackexchange he used it to retrieve “Comments and Title id3” tags.
If can’t read the “Album Artist ID3 tag” give me a clue on how to read the “Album Artist Tag”
I tried adding the code below to media.php in my localhost but it didn’t work.
if ( ! empty( $data['album-artist'] ) ) { $metadata['album-artist'] = $data['album-artist']; }
Forum: Developing with WordPress
In reply to: Retrieve audio id3 tagsThank you very much sir, for helping me.
Please, Correct the code for me. To be honest, I have very little knowledge of php.
Please, I really need it. I have to convert like 1000 audio to a postForum: Developing with WordPress
In reply to: Retrieve audio id3 tagsThe name of the plugin is Auto Post Image after upload. I edited some codes on it to make it support audio.
I just triedfunction artist () { $artist = wp_read_audio_metadata( $attachment->ID ); return $artist; } add_filter ('wp_title', 'artist');
but it didn’t work
- This reply was modified 4 years, 3 months ago by Epiphany.
Forum: Developing with WordPress
In reply to: Retrieve audio id3 tags@sterndata
Thank you very much for your fast response.I have little knowledge of php, can you help me with the code.
Forum: Fixing WordPress
In reply to: Wp-include showing in browser@gappiah
Thanks for your reply sir.
9jaHob.com/wp-includesForum: Developing with WordPress
In reply to: Php code inside wordpress do_shortcode@bcworkz
Wow thanks you so much for the code it worked perfectly well. Thank you once again.Forum: Developing with WordPress
In reply to: Php code inside wordpress do_shortcode@bcworkz
Thank you very much for your help but I have little knowledge of php. I don’t understand the code above.
Please can you provide me the full code.
Thank you very much sir!Forum: Developing with WordPress
In reply to: Php code inside wordpress do_shortcode@sterndata
Thanks for your fast reply sir.
Is there no other way to achieve that. Even if it’s a php function.
I have little knowledge of php.