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
function rsc_change_grunion_success_message( $msg ) { | |
global $contact_form_message; | |
return '<h3>' . 'Thank you!' . '</h3>' . wp_kses($contact_form_message, array('br' => array(), 'blockquote' => array()));; | |
} | |
add_filter( 'grunion_contact_form_success_message', 'rsc_change_grunion_success_message' ); |
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
function tweakjp_cust_shortlink() { | |
global $post; | |
if ( !$post ) | |
return; | |
return get_permalink($post->ID); | |
} | |
add_filter( 'get_shortlink', 'tweakjp_cust_shortlink' ); |
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
#widgets .widget_top-posts .widgets-list-layout-blavatar { | |
max-width: 600px; | |
} |
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
nav, | |
footer { | |
background: #fff; | |
} |
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
add_filter( 'the_content', array( 'Jetpack_RelatedPosts', 'filter_add_target_to_dom' ), 40 ); |
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
@media only screen and (max-width: 320px) { | |
div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post { | |
width: 100% !important; | |
} | |
} |
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: Facebook Featured Image and Open Graph Meta Tags | |
Version: 1.0.1 | |
Plugin URI: http://ryanscowles.com/2013/01/set-wordpress-featured-image-thumbnail/ | |
Description: This plugin will add the necessary Open Graph Meta tags to automatically set the posts' Featured Image as the thumbnail for sharing on Facebook and LinkedIn. It will also set Open Graph Meta tags for title, description, URL, type, and site name. | |
Author: Ryan S. Cowles | |
Author URI: http://www.ryanscowles.com | |
License: GPL2 |
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: RSC Functionality Plugin | |
Plugin URI: http://ryanscowles.com | |
Description: A plugin that contains all site specific functionality for YOUR SITE | |
Version: 0.1 | |
Author: Ryan Cowles | |
Author URI: http://ryanscowles.com | |
License: GPL2 |
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
/** | |
* 1.0 Enqueue Scripts | |
* | |
* Enqueue custom scripts for GearBottle.com | |
*/ | |
function gearbottle_enqueue_script() { | |
wp_enqueue_script( 'ads', '//example.com/script.js', false); // Ads script | |
} | |
add_action( 'wp_enqueue_scripts', 'gearbottle_enqueue_script' ); |
OlderNewer