Skip to content

Instantly share code, notes, and snippets.

@enejb
Created July 18, 2014 20:07
Show Gist options
  • Save enejb/37c1cf33bed400946309 to your computer and use it in GitHub Desktop.
Save enejb/37c1cf33bed400946309 to your computer and use it in GitHub Desktop.
transparent-latext.php
<?php
/**
* Plugin Name: Transparent latext
* Plugin URI:
* Description: Makes your latext images transparent.
* Version: 1.0
* Author: Enej
* License: GPL 2
*/
add_action( 'init', 'eb_transaprent_latext' );
function eb_transaprent_latext(){
global $themecolors;
if( !isset( $themecolors['bg'] ) )
$themecolors['bg'] = 'transparent';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment