• dmx09

    (@dmx09)


    Hi all,
    Loving this plugin but I’m just wondering if its possible to place the code in a php page template and then pull in the correct mp3 from each post dynamically?

    I know I can put the following into a template:

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

    Ideally what I want is something like this:

    <?php if (function_exists("insert_audio_player")) {
      insert_audio_player("[audio:get_my_path_dynamically.mp3]");
    } ?>

    Any ideas appreciated!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Audio Player] Adding the player to the page template’ is closed to new replies.