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
<?php | |
/** | |
* Permit anyone to post HTML in the comments | |
* Because ThunderP2 is only accessible by qualified users, | |
* this is just fine. | |
*/ | |
add_action( 'init', function() { | |
remove_filter( 'pre_comment_content', 'wp_filter_kses' ); | |
add_filter( 'pre_comment_content', 'wp_filter_post_kses' ); |
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
<?php | |
//Plugin Upgrade Class | |
if ( !class_exists( 'PluginUpgrade' ) ) | |
{ | |
class PluginUpgrade | |
{ | |
private $plugin_url = false; | |
private $remote_url = false; |
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
<?php | |
/* | |
Plugin Name: Moderation Buddy | |
Description: A friendly assistent to make sure you don't get behind on your comment moderation tasks. | |
Version: 0.1 | |
Author: Mark Jaquith | |
Author URI: http://coveredwebservices.com/ | |
*/ | |
class CWS_Moderation_Buddy_Plugin { |
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
<?php | |
add_action( 'genesis_post_content', 'child_add_pinterest_link', 15 ); | |
/** | |
* Add pinterest link after post. | |
* | |
* Conditionally limited to single post. Remove the first conditional | |
* to make it show up on archive pages too. | |
* | |
* @since 1.0.0 |
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
<?php | |
/** | |
* Possibly amend the loop. | |
* | |
* Specify the conditions under which the grid loop should be used. | |
* | |
* @author Bill Erickson | |
* @author Gary Jones | |
* @link http://code.garyjones.co.uk/genesis-grid-loop-advanced/ |
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
<?php | |
class Post_Taxonomy_Columns_And_Filter { | |
/** | |
* Constructor | |
*/ | |
function Post_Taxonomy_Columns_And_Filter() { | |
add_filter( 'manage_edit-mycustomposttype_columns', array( $this, 'manage_mycustomposttype_columns' ) ); | |
add_action( 'manage_mycustomposttype_posts_custom_column', array( $this, 'show_mycustomposttype_columns' ) ); |
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
<?php | |
add_filter( 'posts_results','child_query_is_home' ); | |
/** | |
* Fixes an issue where a query that targets a taxonomy stops sticky posts from working | |
* on is_home. | |
* | |
* The code suggests that sticky posts should only be on the blog archive (is_home) page. | |
* However, if that query is amended with an inclusive cat, tag or tax restriction, then | |
* WP doesn't count the query as being the blog archive page anymore. |
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
<?php | |
/** | |
* oEmbed Transparency | |
* | |
* Used so that menus can appear on top of videos | |
* | |
* @author Bill Erickson | |
* @link http://www.billerickson.net/code/oembed-transparency | |
* |
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
<?php | |
/** | |
* Blog Archive | |
* | |
* @package BE_Genesis_Child | |
* @since 1.0.0 | |
* @link https://github.com/billerickson/BE-Genesis-Child | |
* @author Bill Erickson <bill@billerickson.net> | |
* @copyright Copyright (c) 2011, Bill Erickson | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
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
<?php | |
/* | |
Plugin Name: Plugin Name | |
Plugin URI: http://example.com/ | |
Description: Description | |
Version: 0.1 | |
Author: Your Name | |
Author URI: http://example.com/ | |
*/ |
OlderNewer