Skip to content

Instantly share code, notes, and snippets.

@nemf
nemf / functions.php.diff
Created April 1, 2012 11:38
wordpress theme EvoLve customize - AdCode filter
2633c2633
< $input['evl_space_1'] = wp_filter_post_kses( $input['evl_space_1'] );
---
> //$input['evl_space_1'] = wp_filter_post_kses( $input['evl_space_1'] );
2635c2635
< $input['evl_space_2'] = wp_filter_post_kses( $input['evl_space_2'] );
---
> //$input['evl_space_2'] = wp_filter_post_kses( $input['evl_space_2'] );
2637c2637
< $input['evl_space_3'] = wp_filter_post_kses( $input['evl_space_3'] );
@nemf
nemf / base.css.diff
Created April 1, 2012 10:51
wordpress theme EvoLve customize - Logo font size
111c111
< #logo, #logo a { position:relative;font:bold 55px/55px "Myriad Pro",Myriad,"Trebuchet MS",Helvetica,Arial,sans-serif;float:left; margin-right:10px; letter-spacing:-3px;}
---
> #logo, #logo a { position:relative;font:bold 33px/33px "Myriad Pro",Myriad,"Trebuchet MS",Helvetica,Arial,sans-serif;float:left; margin-right:10px; letter-spacing:-3px;}
@nemf
nemf / nemf.quickboy.com.conf
Created April 1, 2012 09:12
nginx configuration
server {
listen 80;
server_name nemf.quickboy.com;
root /usr/share/nginx/html;
location / {
# static files
if (-f $request_filename) {
break;
}
@nemf
nemf / .htaccess-NG
Created April 1, 2012 08:43
mod_rewrite in .htaccess
# document_root/pmp/.htaccess
# NG
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/pmp(.*)$ http://pmp.nemf.quickboy.com/$1 [R=301,L]
</IfModule>