Forums

How to use this code in my website (2 posts)

  1. lilmagie
    Member
    Posted 1 year ago #

    So I dl the audio player plugin for wordpress. I wanted the player to auto play on my home page and figured out how to do that but when I put it in the post space you have to scroll down in order for it to activate and start playing. I want it to start right away so I think it needs to be in my header. The website tells you how to do it but it's still very foreign to me and they gave me the code but don't know exactly what I am supposed to do with the code. Here is the website of the audio player:
    http://wpaudioplayer.com/frequently-asked-questions/ and it's under "How do I place a player in the sidebar, header or footer?" Thank you so much for your help and my website is http://www.thesunnysideband.com
    Margaret

  2. Samuel B
    moderator
    Posted 1 year ago #

    insert the code

    # <?php if (function_exists("insert_audio_player")) {
    #   insert_audio_player("[audio:http://www.domain.com/path/to/song.mp3]");
    # } ?>

    in theme's header.php right before </head>

Topic Closed

This topic has been closed to new replies.

About this Topic