Hacking bp-default’s header image
I’m working on a child theme of bp-default and I am trying to hack into the theme the ability for the admin to upload any number of previously sized images to be used as a rotating header. I have been trying to hack in the Featured Images functionality of the Flexx theme. I have it to the point where the backend stuff is working in that I see the Featured Images menu, it allows me to upload a file, etc (the options don’t save but I think I can figure that out). What I can’t seem to find is where the header image for bp-default is set. I see something in the CSS but what if I upload a new image? Is that image being saved with the name used in the CSS and as such it is what is displayed or am I just blind? I’ve been through header.php and don’t see where there is a call to load a custom header image.
Also, is this the best way to go about this? Is there an easier way to create a bp-default child theme that allows you to upload multiple images to be rotated as the header image? Has someone already done something like this?
Thanks for any help and sorry if this is in the wrong group.
- The topic ‘Hacking bp-default’s header image’ is closed to new replies.