Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Codeart

    (@codeart)

    Hi Aaron,

    We will be making the backend area prettier in the new version which should come out sometime next week. You will be able to copy the code from there.

    In the meantime, this should do the trick.

    Generate the full shortcode in any post like you would normally add it to a page, copy it and place it between the ” in the code below. Then copy everything in your header.php and it should work.

    <?php echo do_shortcode('') ?>

    Thanks

    Plugin Contributor Codeart

    (@codeart)

    Saw an error, copy this code instead

    <?php echo do_shortcode(''); ?>

    The full one should be something like

    <?php echo do_shortcode('[ca_audio url="URL of the audio file" width="500" height="27" css_class="codeart-google-mp3-player"]'); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP code for player to insert into page header.php’ is closed to new replies.