Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #280832
    alexparisella
    Participant

    Hi there how do you have music playing through the whole website, website is littleangphotography.com

    #280842
    Skandha
    Participant

    @alexparisella: Hello there,
    Can you please elaborate the issue you are having?

    Kind Regards,
    Skandha

    #280873
    alexparisella
    Participant

    Hi 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

    #280911
    Skandha
    Participant

    @alexparisella: Hello Alex,
    Do you want the audio to play on a specific page or the entire site?

    Kind Regards,
    Skandha

    #280912
    alexparisella
    Participant

    The 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.

    #280926
    Skandha
    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,
    Skandha

    #280927
    alexparisella
    Participant

    I have done once before and happy to give it a shot

    #281169
    alexparisella
    Participant

    I have done once before

    #281246
    Skandha
    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

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘How to add have music running in the backround of website’ is closed to new replies.