Skip to content

Instantly share code, notes, and snippets.

View bulkstudio's full-sized avatar

BulkStudio bulkstudio

View GitHub Profile
@bulkstudio
bulkstudio / social-media-share-jetpack.php
Created February 4, 2013 11:26
Place this code snippet in you function.php
<?php
/**-------------------------------------------
* @package Bulk Studio
* @link http://bulkstudio.com
* @author Rhythm <rhythm@bulkstudio.com>
* @copyright Copyright (c) 2013, Bulk Studio
* @source Brian Gardner <http://www.briangardner.com>
-------------------------------------------------*/
// Add Jetpack share buttons above post
@bulkstudio
bulkstudio / comment-policy
Created February 4, 2013 10:40
Use this code to add a comment policy box to your site
<?php
/**-------------------------------------------
* @package Bulk Studio
* @link http://bulkstudio.com
* @author Rhythm <rhythm@bulkstudio.com>
* @copyright Copyright (c) 2013, Bulk Studio
-------------------------------------------------*/
/** Add a comment policy box */
add_action( 'genesis_after_comments', 'single_post_comment_policy' );
@bulkstudio
bulkstudio / comment-submit-button.php
Created February 4, 2013 10:37
Use this code to modify the submit button text text on your site
<?php
/**-------------------------------------------
* @package Bulk Studio
* @link http://bulkstudio.com
* @author Rhythm <rhythm@bulkstudio.com>
* @copyright Copyright (c) 2013, Bulk Studio
-------------------------------------------------*/
/** Customize the comment submit button text */
add_filter( 'genesis_comment_form_args', 'custom_comment_submit_button' );
@bulkstudio
bulkstudio / author-say-text.php
Created February 4, 2013 10:35
Use this code to modify the author says text on your site
<?php
/**-------------------------------------------
* @package Bulk Studio
* @link http://bulkstudio.com
* @author Rhythm <rhythm@bulkstudio.com>
* @copyright Copyright (c) 2013, Bulk Studio
-------------------------------------------------*/
/** Modify the author says text */
add_filter( 'comment_author_says_text', 'custom_comment_author_says_text' );
function custom_comment_author_says_text() {
@bulkstudio
bulkstudio / speak-mind.php
Created February 4, 2013 10:31
Use this code to modify the Speak Your Mind headline text on your site
<?php
/**-------------------------------------------
* @package Bulk Studio
* @link http://bulkstudio.com
* @author Rhythm <rhythm@bulkstudio.com>
* @copyright Copyright (c) 2013, Bulk Studio
-------------------------------------------------*/
/** Modify the speak your mind text */
add_filter( 'genesis_comment_form_args', 'custom_comment_form_args' );
@bulkstudio
bulkstudio / trackback.php
Created February 4, 2013 10:29
Use this code to modify the Trackbacks headline text on your site
<?php
/**-------------------------------------------
* @package Bulk Studio
* @link http://bulkstudio.com
* @author Rhythm <rhythm@bulkstudio.com>
* @copyright Copyright (c) 2013, Bulk Studio
-------------------------------------------------*/
/** Modify trackbacks header text in comments */
add_filter( 'genesis_title_pings', 'custom_title_pings' );
@bulkstudio
bulkstudio / comment-headline.php
Created February 4, 2013 10:28
Use this code to modify the Comments headline text on your site
<?php
/**-------------------------------------------
* @package Bulk Studio
* @link http://bulkstudio.com
* @author Rhythm <rhythm@bulkstudio.com>
* @copyright Copyright (c) 2013, Bulk Studio
-------------------------------------------------*/
/** Modify comments header text in comments */
add_filter( 'genesis_title_comments', 'custom_genesis_title_comments' );
function custom_genesis_title_comments() {
@bulkstudio
bulkstudio / comment-link.php
Created February 4, 2013 10:26
Use this code to modify the comments link on your site
@bulkstudio
bulkstudio / default-avatar.php
Created February 4, 2013 10:18
Use this code to change the default avatar on your site
<?php
/**-------------------------------------------
* @package Bulk Studio
* @link http://bulkstudio.com
* @author Rhythm <rhythm@bulkstudio.com>
* @copyright Copyright (c) 2013, Bulk Studio
-------------------------------------------------*/
/** Create a custom Gravatar*/
function add_custom_gravatar ($avatar) {
@bulkstudio
bulkstudio / author-avatar-size.php
Created February 4, 2013 10:16
Use this code to modify the author avatar size on your site
<?php
/**-------------------------------------------
* @package Bulk Studio
* @link http://bulkstudio.com
* @author Rhythm <rhythm@bulkstudio.com>
* @copyright Copyright (c) 2013, Bulk Studio
-------------------------------------------------*/
/** Modify the size of the Gravatar in the author box */
add_filter( 'genesis_author_box_gravatar_size', 'author_box_gravatar_size' );
function author_box_gravatar_size($size) {