- This topic has 8 replies, 2 voices, and was last updated 2 years, 1 month ago by
Skandha.
-
AuthorPosts
-
April 29, 2021 at 8:03 am #280832
alexparisella
ParticipantHi there how do you have music playing through the whole website, website is littleangphotography.com
April 29, 2021 at 8:17 am #280842Skandha
Participant@alexparisella: Hello there,
Can you please elaborate the issue you are having?Kind Regards,
SkandhaApril 30, 2021 at 2:17 am #280873alexparisella
ParticipantHi there, it’s not a issue I’m having but maybe you can help. I would like to add music to my website so when you go into the website it will automatically start to play and flows when the user is on the website. Thank you, Alex
April 30, 2021 at 2:49 am #280911Skandha
Participant@alexparisella: Hello Alex,
Do you want the audio to play on a specific page or the entire site?Kind Regards,
SkandhaApril 30, 2021 at 6:37 am #280912alexparisella
ParticipantThe whole site I was hoping. But one page will be kind of ok. If you go to littleangphotography.com and play the audio at the bottom that’s the audio I want.
April 30, 2021 at 6:48 am #280926Skandha
Participant@alexparisella: Hello Alex,
To have the audio play on the entire site you will need to create a child theme and do a little bit customization. Let me know if you are familiar with child theme customization otherwise I suggest you to hire a customizer to get it done.Kind Regards,
SkandhaApril 30, 2021 at 4:12 pm #280927alexparisella
ParticipantI have done once before and happy to give it a shot
May 4, 2021 at 2:11 am #281169alexparisella
ParticipantI have done once before
May 4, 2021 at 2:36 am #281246Skandha
Participant@alexparisella: Hello Alex,
To create a child theme you can use our plugin Generate Child Theme.Install and Activate the plugin.
Then,
Go to => Dashboard => Generate Child Theme => Select Parent Theme as Zubin and fill in remaining fields and Click on Generate.This will create and activate the child theme.
Then,
Copy the header.php file from the parent theme to the child theme folder.Edit the header.php in your child theme, after Line no 26 add the following Code.
<audio autoplay> <source src="http://localhost/wordpress/wp-content/uploads/2021/04/While_You_Work_It.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio>
Finally replace the audio src file with your file.
Let me know if this works out!
Kind Regards,
Skandha -
AuthorPosts
- The topic ‘How to add have music running in the backround of website’ is closed to new replies.