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 |
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: Weekly Traktivity shortcode | |
* Plugin URI: https://wordpress.org/support/topic/using-trackt-details-on-frontend/ | |
* Description: A shortcode to display tv shows and movies watched in the 7 days prior to a given date. | |
* Author: Jeremy Herve | |
* Version: 1.0.0 | |
* Author URI: https://jeremy.hu | |
* 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
<div itemscope itemtype="http://schema.org/Article" class="content"> | |
<h1 itemprop="name"><?php the_title(); ?></h1> | |
<div class="entry-content"> | |
<?php | |
if ( has_post_thumbnail() ) | |
the_post_thumbnail( 'single-post-thumbnail', array( 'itemprop' => 'image' ) ); | |
else | |
echo '<img src="' . get_bloginfo( 'stylesheet_directory' ) . '/images/default_thumb1.jpg" class="attachment wp-post-image" />'; |
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 | |
if( function_exists( 'jetpack_photon_url' ) ) { | |
add_filter( 'jetpack_photon_url', 'jetpack_photon_url', 10, 3 ); | |
} | |
function jeherve_display_custom( $content, $post ) { | |
global $post; | |
// If you didn't define a post thumnail, let's forget about all this | |
if ( !has_post_thumbnail( $post->ID ) ) |
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 | |
/** | |
* Remove state field from woocommerce checkout form. | |
* | |
* @see https://github.com/woocommerce/woocommerce/blob/3.1.2/includes/class-wc-countries.php#L629 | |
* | |
* @param array $fields Array of default address fields. | |
*/ | |
function jeherve_remove_state_field( $fields ) { | |
unset( $fields['state'] ); |
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 | |
/** | |
* Display a Stats counter at the top of every post, with a "Views:" heading. | |
* @see https://wordpress.org/support/topic/page-views-off/ | |
* | |
* @param string $content Post content. | |
*/ | |
function jeherve_custom_display_post_views( $content ) { | |
$post_views = sprintf( | |
'<div class="stats_counter sd-content"><h3 class="sd-title">%1$s</h3><div class="sd-content">%2$s</div></div>', |
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
#!/bin/sh | |
echo Install all AppStore Apps at first! | |
# If you are looking into a solution to automate AppStore installs, | |
# check mas https://github.com/argon/mas | |
# I installed XCode, Simplenote, Clocks, Stuffit Expander, Cloudapp, Forklift. | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
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 | |
/** | |
* 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 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: Markdown from Jetpack | |
* Plugin URI: https://jetpack.com | |
* Description: Use only the Markdown block in Jetpack, nothing else. This must be installed in addition to the Jetpack plugin. | |
* Author: Automattic | |
* Version: 1.0.0 | |
* Author URI: https://jetpack.com | |
* License: GPL2+ | |
* Requires at least: 5.5 |
NewerOlder