This file contains hidden or 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
<?php | |
/** | |
* This program is free software. It comes without any warranty, to | |
* the extent permitted by applicable law. You can redistribute it | |
* and/or modify it under the terms of the Do What The Fuck You Want | |
* To Public License, Version 2, as published by Sam Hocevar. See | |
* http://sam.zoy.org/wtfpl/COPYING for more details. | |
*/ | |
/** |
This file contains hidden or 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
<?php | |
/** | |
* Plugin Name: Restrict mime types | |
* Plugin URI: http://wpengineer.com/?p=2369 | |
* Description: Restrict list of allowed mime types and file extensions. | |
* Version: 1.0.0 | |
* License: GPLv3 | |
* Author: Frank Bültge | |
* Author URI: http://bueltge.de/ | |
*/ |
This file contains hidden or 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
<?php | |
/** | |
* Plugin Name: Remove Admin Bar in WordPress 3.3 | |
* Plugin URI: http://wordpress.stackexchange.com/questions/40983/removing-admin-bar-from-wordpress-dashboard | |
* Description: Remove Admin Bar | |
* Version: 1.0.0 | |
* Author: Frank Bültge | |
* Author URI: http://bueltge.de | |
* License: GPLv3 | |
*/ |
This file contains hidden or 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
<?php | |
/** | |
* Plugin Name: Custom Query Shortcode | |
* Plugin URI: | |
* Description: Run a Loop inside any Post/Page via Shortcode <code>[loop]</code> | |
* Version: 0.0.1 | |
* License: GPLv3 | |
* Author: Frank Bültge | |
* Author URI: http://bueltge.de/ | |
*/ |
This file contains hidden or 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
<form method="post" action=""> | |
<input type="password" id="my_password" name="password" value="" autocomplete="off" /> | |
<input type="submit" value="Los" id="my_submit" disabled="disabled" onclick="document.getElementById('my_password').type = 'password'" /> | |
<br /> | |
<input type="checkbox" onchange="document.getElementById('my_password').type = this.checked ? 'text' : 'password';"> Passwort beim Tippen anzeigen | |
</form> |
This file contains hidden or 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
on this source; Aptana dont view functions, vars etc. in outline window | |
if ( ! class_exists( 'Foo' ) ) { | |
class Foo { | |
static public $foo; | |
public function foo() { | |
This file contains hidden or 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
// remove height, width for responsive design | |
(function ($) { | |
$(document).ready(function($) { | |
$( 'img' ).removeAttr( 'height' ).removeAttr( 'width' ); | |
}); | |
})(jQuery); |
This file contains hidden or 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
/** | |
* @package Normalize Style with goal CSS3 and html5-elements | |
* @author Hans Mustermann <[email protected]> | |
* @since 0.0.1 | |
* @version 0.0.2 | |
* | |
* Description: Normalize all browsers | |
* | |
* Normalize, inspired by http://bueltge.de/b/33 and http://bueltge.de/b/34 | |
*/ |
This file contains hidden or 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
body { | |
margin: 3em; | |
} | |
.button { | |
padding: 10px 15px; | |
background: #4479BA; | |
text-decoration: none; | |
color: #FFF; | |
border-radius: 4px; | |
border: solid 1px #20538D; |
This file contains hidden or 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
<?php | |
/** | |
* Plugin Name: Use AddQuicktag on my CPT | |
* Plugin URI: http://bueltge.de/ | |
* Description: Add custom post type 'my_custom_post_type' to AddQuicktag plugin | |
* Author: Frank Bültge | |
* Version: 0.0.1 | |
* Licence: GPLv3 | |
* Author URI: http://bueltge.de | |
*/ |