Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Allow to change the background of profile container div
add_filter("bppg_iwilldo_it_myself","__return_true");//stop the plugin to inject css
//now we can write our own css
function my_css_for_profile_bg(){
return;//this user has not uploaded an image yet
<style type="text/css"> div#content .padder{
background:url(<?php echo $image_url;?>) no-repeat;/*please customize it*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.