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
# Create a filter called 'apache-wp-login' | |
[Definition] | |
failregex = <HOST>.*] "POST /wp-login.php HTTP/.*" 200 | |
ignoreregex = | |
[INCLUDES] | |
before = apache-common.conf | |
# Create a jail | |
[wp-login] |
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: Cache Post Thumbnails | |
* Description: Prime the post thumbnails cache for individual loops. | |
* Version: 1.0.0 | |
* Author: Brady Vercher | |
* Author URI: http://www.blazersix.com/ | |
* License: GPL-2.0+ | |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
*/ |
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 | |
// register the custom post type widget area | |
genesis_register_sidebar( array( | |
'id' => 'cpt-archive-sidebar', | |
'name' => __( 'Custom Post Type Sidebar' ), | |
'description' => __( 'Display this sidebar on your custom post type archive page.' ), | |
) ); | |
NewerOlder