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 | |
/**------------------------------------------- | |
* @package WordPress Default Avatar | |
* @link http://rhythmshahriar.com | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
// Create a custom Gravatar | |
function rhythm_default_avatar( $avatars ) { | |
$new = get_stylesheet_directory_uri() . '/images/rhythm-custom-avatar.png'; //Image location, it's in your stylesheet images directory |
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 | |
/**------------------------------------------- | |
* @package Genesis Comment Section | |
* @link http://rhythmshahriar.com | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
/**Customize The Comment Form in Genesis 2.0 Html5*/ | |
add_filter( 'comment_form_defaults', 'rhythm_custom_comment_form' ); | |
function rhythm_custom_comment_form($fields) { |
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 | |
/**------------------------------------------- | |
* @package Genesis Comment Section | |
* @link http://rhythmshahriar.com | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
/** Add a comment policy box */ | |
add_action( 'genesis_after_comments', 'single_post_comment_policy' ); |
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 | |
/**------------------------------------------- | |
* @package Genesis Comment Section | |
* @link http://rhythmshahriar.com | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
/** Modify the speak your mind text */ | |
add_filter( 'genesis_comment_form_args', 'custom_comment_form_args' ); | |
function custom_comment_form_args($args) { |
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 | |
/**------------------------------------------- | |
* @package Genesis Comment Section | |
* @link http://rhythmshahriar.com | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
/** Modify comments header text in comments */ | |
add_filter( 'genesis_title_comments', 'custom_genesis_title_comments' ); | |
function custom_genesis_title_comments() { |
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 | |
/**------------------------------------------- | |
* @package Genesis Comment Section | |
* @link http://rhythmshahriar.com | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
/** Modify trackbacks header text in comments */ | |
add_filter( 'genesis_title_pings', 'custom_title_pings' ); | |
function custom_title_pings() { |
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 | |
/**------------------------------------------- | |
* @package Genesis Comment Section | |
* @link http://rhythmshahriar.com | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
/** Modify the comment link text */ | |
add_filter( 'genesis_post_info', 'post_info_filter' ); |
NewerOlder