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 | |
/** | |
* Overwrite the links used in Jetpack's Sharing module. | |
* | |
* @see https://wordpress.org/support/topic/how-to-use-utm-codes-with-jetpack-sharing | |
* | |
* @param string $url | |
* @param int $post_id | |
* @param int $sharing_id | |
* @filter sharing_permalink |
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 | |
/** | |
* Move Jetpack's sharing buttons from their default location to right under Woocommerce's product image | |
* | |
* @see http://jetpack.me/2013/06/10/moving-sharing-icons/ | |
* @see http://businessbloomer.com/woocommerce-move-jetpack-social-sharing-single-product-page-tabs/ for an alternative placement | |
*/ | |
function jeherve_move_jp_sharing_icons_woo() { | |
// Start by checking if Jetpack's sharing buttons are actually in use on the site |
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: Disable Jetpack's Twitter Meta Tags | |
* Plugin URI: http://wordpress.org/plugins/ | |
* Description: Disable Jetpack's Twitter Meta Tags | |
* Author: Jeremy Herve | |
* Version: 1.0 | |
* Author URI: http://jeremy.hu | |
* License: GPL2+ | |
*/ |
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 | |
// First, make sure Jetpack doesn't concatenate all its CSS | |
add_filter( 'jetpack_implode_frontend_css', '__return_false' ); | |
// Then, remove each CSS file, one at a time | |
// You probably won't need them all, unless you use all the modules, and all the themes! :) | |
// Some of these are also only loaded on specific admin pages, so it wouldn't affect your readers | |
function jeherve_remove_all_jp_css() { | |
wp_deregister_style( 'AtD_style' ); // After the Deadline |
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
#infinite-footer .container { | |
width: 100%; | |
} |
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: Verify your site with Facebook | |
* Plugin URI: http://wordpress.org/plugins | |
* Description: Verify your site with Facebook by adding an admin meta tag to the head of your site. Works when Jetpack is enabled. | |
* Author: Jeremy Herve | |
* Version: 1.0 | |
* Author URI: http://jeremy.hu | |
* License: GPL2+ | |
*/ |
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: Remove Jetpack's Youtube shortcode | |
* Plugin URI: http://wordpress.org/extend/plugins/jetpack/ | |
* Description: Removes Jetpack's Youtueb shortcode | |
* Author: Jeremy Herve | |
* Version: 1.0 | |
* Author URI: http://jeremyherve.com | |
* License: GPL2+ | |
*/ |
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: Uppercase og:title for Jetpack | |
* Plugin URI: http://wordpress.org/extend/plugins/jetpack/ | |
* Description: Removes Jetpack's default og:title tag, and replaces it with an uppercase og:title | |
* Author: Jeremy Herve | |
* Version: 1.0 | |
* Author URI: http://jeremyherve.com | |
* License: GPL2+ | |
*/ |
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
#wpadminbar #wp-admin-bar-notes, .dash-header #wp-admin-bar-notes, #newnavwrapper #wp-admin-bar-notes { | |
display:none; | |
} |
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
div#confirmBox { display: none; } |