Create a gist now

Instantly share code, notes, and snippets.

Allow Developers to Use their own custom css for background positioning etc
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"> {
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