• Resolved netlover

    (@netlover)


    I would like to add background music just on the home page that automatically plays on page load. I do not want it to play on internal pages. How do I do this?

    Cornelius

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Brian Harris

    (@zgani)

    Hello Cornelius,

    That is beyond the theme’s functionality.

    With that said, it will all depend on how you propose to add the music.

    One way would be to embed the audio code in a page which would be ideal if you are using a static page as your home page.

    You could also use a widget that allows for conditional tags to be employed and embed the code with that.

    Another option is you could embed the code in the header.php with an if is_front_page conditional tag – but only do this if you are using a child theme to make changes to the theme’s core files.

    There are plugins that allow for adding code to the header.php or footer.php but not sure if they offer conditional tags.

    Let me know how you propose on adding the music and what will be the source and I’ll have a look in to it further.

    Zulf

    Thread Starter netlover

    (@netlover)

    The site home page is at:
    http://zonyebarjean.com/

    It will easily let me embed using a plugin/widget on the internal pages but on the home page it is diffeent.

    Thread Starter netlover

    (@netlover)

    This is the plugin that is being used on the internal pages:
    http://wordpress.org/plugins/tierra-audio-with-autoresume/

    Theme Author Brian Harris

    (@zgani)

    OK, just realized that you’ve actually asked this question on the wrong theme. Unfortunately I’m unable to assist you on this issue as I don’t know the structure of the theme in use.

    Your best bet is to ask the theme author for assistance on this issues. Further more I don’t believe this is actually a theme issue.

    The best places to ask would be here: http://wordpress.org/support/forum/plugins-and-hacks and here: http://wordpress.org/support/plugin/tierra-audio-with-autoresume

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘adding background music on the home page’ is closed to new replies.