Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, please check the following documentation. There is an example php code you can use to add the shortcode to one of your theme files.

    Let me know if this helps you.

    Kind regards

    Thread Starter michaellanfield

    (@michaellanfield)

    Hello. Which code do I use and where do I add it if I would like to add it to my homepage next to my menu?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, use the following one.

    Adding the Audio Player to a Theme’s Template File

    You can also embed the audio player in your theme’s template file. Here is an example code that you can add to your template file:

    If you wanted to add the button in the header, then you would add the php code to your theme header.php file.

    Regards

    • This reply was modified 6 years, 10 months ago by mbrsolution.
    Thread Starter michaellanfield

    (@michaellanfield)

    hi. where is the code? I don’t see it above.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, in the documentation link I shared above you will see the following header. That is where you will find the code.

    Adding the Audio Player to a Theme’s Template File

    You can also embed the audio player in your theme’s template file. Here is an example code that you can add to your template file:

    Regards

    Thread Starter michaellanfield

    (@michaellanfield)

    this is the code I would like to add right of the menu
    [sc_embed_player fileurl=”https://www.thosecrazyvegans.net/wp-content/uploads/2017/11/official_website.mp3″%5D
    <p style=”display: inline”>- Play Our Jingle</p>

    I tried adding this code the header page and the global css and no luck.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, did you add the code using PHP similar to the following code?

    <?php echo do_shortcode('[sc_embed_player fileurl="URL OF THE MP3 FILE"]'); ?>

    Regards

    Thread Starter michaellanfield

    (@michaellanfield)

    I will try now.

    Thread Starter michaellanfield

    (@michaellanfield)

    I added this code

    <?php echo do_shortcode(‘[sc_embed_player fileurl=”https://www.thosecrazyvegans.net/wp-content/uploads/2017/11/official_website.mp3″%5D&#8217;); ?>

    to global css and header No luck.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, if you are having troubles adding the code to your themes header.php file then my suggestion is to hire a developer. It is important that you add the code in the right area or else it will not work. Unfortunately I have not written a tutorial on how to do this.

    Kind regards

    Thread Starter michaellanfield

    (@michaellanfield)

    Hello and thank you for responding. I would like a jingle that plays not automatically when the website loads, but only once when a person clicks on a play play button. I would like this jingle to be played only on the homepage somewhere in Revolution Slider (now that I think about it, not next to the menu) and no where else. The jingle is only 5 seconds long and I do not want it played when a user goes to another page, just on the front/home page. How can this be done with your plugin?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, is the original issue resolved? If it is can you mark it as resolved.

    Can you start a new support thread with your new question. This method allows us to manage and help resolve each issue better.

    Thank you

    Thread Starter michaellanfield

    (@michaellanfield)

    No. I still have an issue. Read my last message above please. Thank you.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    I would like a jingle that plays not automatically when the website loads,

    Make sure you don’t have the following parameter autoplay=true included in the shortcode.

    Let me know if you need more help.

    Thank you

    • This reply was modified 6 years, 10 months ago by mbrsolution.
Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘how to position the code to the right of my menu?’ is closed to new replies.