incorporating xspf player to the header...
Hello,
I'm trying to add a xspf player to the header, preferably at the place where the location of the default search bar currently is. The thing is, my PHP knowledge is practically, non-existent. I know I'm supposed to put this: <?php xspf_player::start('playlistname'); ?> somewhere in my header. Atahualpa is deeply customisable from within wordpress admin, which is a god-send for people like me. This means, however, that the header.php file looks so intimidating I do not know what to do, or where to begin Please help? |
Does it have a similar size as the search box?
Turn the search box ON at A. Theme Options -> Header and in functions/bfa_header_config.php, find PHP Code:
PHP Code:
|
Thank you for the donation.
|
Hey Flynn!
Thank you so much for your help! But I've tried the new solution... doesn't work. You can see for yourself if you like; it looks exactly the same as the first alternative code. I've shortened the length of the player from 370px to 250, and as you can see, it makes no difference either. If only somebody widgetised an Xspf player... :P Now what? Please help? |
Sorry, I changed the code again
The line PHP Code:
The post above is updated |
It looks perfect now... thanks so much!
|
Hello,
I've updated to 3.5.1, and I have the same problem as I did in this thread - incorporating xspf player to the header. What I want to do is to incorporate the xspf player to the header exactly where the search box is, essentially replacing the search box with the music player. The original solution here does not work anymore as you've made changes to the php file. Please help? Thanks. |
All times are GMT -6. The time now is 09:12 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.