Skip to content

Instantly share code, notes, and snippets.

🚀
👨‍🏭

Jeremy Herve jeherve

🚀
👨‍🏭
Block or report user

Report or block jeherve

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jeherve
jeherve / jetpack-feature-list-20200309.md
Last active May 13, 2020
[Jetpack] List of features as of March 9, 2020
View jetpack-feature-list-20200309.md

Jetpack Feature list as of May 13, 2020

Feature Name Requires Connection to WordPress.com Description Activated for you when you first connect the plugin to WordPress.com
Ads Yes Run ads via the WordPress.com Ad network No
Asset CDN No Serve static files (from Core, Jetpack, and WooCommerce) from our CDN. No
Backups and Scanning Yes Daily or real-time backups and automated virus scanning and threat detection. All happens on WordPress.com No
Blocks Yes/No Add 27 blocks to the editor. Some rely on the WordPress.com infrastructure, others don't Yes
Beautiful Math No Use the LaTeX markup language to write mathematical equations and formulas No
Carousel No Carousel display on galleries and single images No
@jeherve
jeherve / debug-wordpress.md
Last active Jan 29, 2020
How To: Enable Debugging in WordPress
View debug-wordpress.md

Enable Debugging in WordPress

To enable debugging in WordPress, you will need to add the following to your site's wp-config.php file:

define( 'WP_DEBUG', true );

if ( WP_DEBUG ) {
	@error_reporting( E_ALL );
	@ini_set( 'log_errors', true );
@samhotchkiss
samhotchkiss / wp-multicall-example.xml
Created Oct 12, 2015
Example of Multicall in WordPress
View wp-multicall-example.xml
<?xml version="1.0"?>
<methodCall>
<methodName>system.multicall</methodName>
<params>
<param>
<value>
<array>
<data>
<value>
<struct><member><name>methodName</name><value><string>wp.getAuthors</string></value></member><member><name>params</name><value><array><data><value><string>1</string></value><value><string>sam</string></value><value><string>a</string></value></data></array></value></member></struct>
View jp-version-check.php
<?php
function can_use_version( $version ) {
$secure_jetpacks = array(
'1.9' => '1.9.3',
'2.0' => '2.0.5',
'2.1' => '2.1.3',
'2.2' => '2.2.6',
'2.3' => '2.3.6',
'2.4' => '2.4.3',
View wcphilly-admin.php
<?php
/*
Plugin Name: WordCamp Philly 2011 Admin
Plugin URI: http://localhost/whitelabel
Description: Some swanky stuff to make your admin look GOOD
Author: Andrew Norcross
Version: 0.1
Requires at least: 3.0
Author URI: http://andrewnorcross.com
@kovshenin
kovshenin / style-2.css
Created Aug 9, 2011
Twitter Blockquotes Styles
View style-2.css
blockquote.tweet {
border-left: solid 4px #ccc;
padding-left: 8px;
}
You can’t perform that action at this time.