I need to put a play list short code at the top of the header

Latest Reply from Dave at 2016-04-20 05:43:20
I need to use the following plugin https://www.wonderplugin.com/wordpress-audio-player/ in order to put a play list in the header file using a short code, that is: '<?php echo do_shortcode('[wonderplugin_audio id="1"]'); ?>'.
Where exacty, in header.php, should i put this code so that the play list appears at the top of the page?


You may try to insert it after slider. If something goes wrong just roll back your changes and put it into another place. Just keep in mind that when you insert the php code you have to use the opening and closing tags, which are <?php and ?> only if they are needed. If there is an opening tag before than you don't have to open it again.

Leave a reply

Add codeAdd image