This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Flatten das boostrap */ | |
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
-moz-box-shadow: none !important; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important; | |
-webkit-border-radius: 0px !important; | |
-moz-border-radius: 0px !important; | |
border-radius: 0px !important; | |
border-collapse: collapse !important; | |
background-image: none !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Just add the following snippet in your plugin main file | |
// Code updated for Wordpress 3.8.1 | |
add_filter( 'http_request_args', 'acs_prevent_update_check',10, 2 ); | |
function acs_prevent_update_check( $r, $url ) { | |
if ( 0 === strpos( $url, 'https://api.wordpress.org/plugins/update-check/1.1/' ) ) { | |
$my_plugin = plugin_basename(__FILE__); | |
$plugins = json_decode($r['body']['plugins'], true); | |
if (array_key_exists($my_plugin, $plugins['plugins'])){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff --name-status master..new-branch | grep 'html' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.btn-primary { | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); | |
border-radius: 3px; | |
background-color: #f57e17; | |
color: #ffffff; | |
border-color: #f57e17; | |
font-size: 20px; | |
padding: 8px 22px; | |
} |