Welcome to ManageWP.org

Register to share, discuss and vote for the best WordPress stories every day, find new ideas and inspiration for your business and network with other members of the WordPress community. Join the #1 WordPress news community!

×

3 min read Ahmad Awais
Community | jeremy.hu | Oct. 24, 2015

An experiment with the WP REST API and Jetpack’s REST API

Would you like to embed posts from someone's WordPress site which uses WP REST API or Jetpack's REST API? Well, Jeremy Herve has built a plugin to do just that.

An experiment with the WP REST API and Jetpack’s REST API

Community | jeremy.hu | Oct. 24, 2015

A few months ago, I set to learn more about the differences between Jetpack’s REST API and the WP REST API plugin. Both projects are very interesting for the future of WordPress, as they allow third-party apps and services to interact with WordPress. I consequently developed a little plugin using both APIs: REST API Post Embeds.
The plugin allows you to embed posts from your site or others’ into your posts and pages. It does so using Jetpack’s REST API or the WP REST API plugin.
To use the plugin, all you have to do is to add the jeherve_post_embed shortcode into one of your posts or pages. That shortcode accepts many different parameters, listed on this page. The most important parameter is wpapi, as it allows you to choose whether the plugin should query the site using Jetpack or the WP REST API plugin.
To give you an example, you could for example use the plugin to retrieve an image grid of the 8 most recent posts tagged “jetpack” on WPTavern.com, using Jetpack’s REST API.
[jeherve_post_embed url="wptavern.com" number="8" include_images="true" include_title="false" include_excerpt="false" image_size="125,125" tag="jetpack" wrapper_class="example-grid"]
I believe the shortcode parameters

Community | jeremy.hu | Feb. 2, 2016

Static Site Generators: WordPress is NOT Doomed

In response to an article posted last week that said WordPress was going to be overrun by static site generators, Jeremy outlines some of the high level reasons why WordPress is here to stay.

7 min read Jean-Baptiste
Community | jeremy.hu | Aug. 22, 2014

7 months as a Ghost

Why Jeremy moved back to WP from an experiment with Ghost

7 months as a Ghost

Community | jeremy.hu | Aug. 22, 2014

Back in October of last year, Ghost was released to the public. I read a lot about this “WordPress killer”, and decided to give it a try. It is Just a Blogging Platform, so that’s exactly what I need for this site. After 7 months, I’m back on WordPress and I’d like the share my experiences with you. This blog is my playground: I started back in 2006 on Blogger, then switched to WordPress a few months later. In 2011, I tried Jekyll. In 2012, I moved to WordPress.com and then back to the self-hosted version of WordPress to play with Jetpack. And in December 2013, I decided to stop blogging here and start a brand new Ghost blog. Over the course of 7 months, I published 32 posts. Here is why I switched back to WordPress, and what I learned about both platforms in the past few months.
Ghost: it’s new, it’s shiny
The first step in creating your new blog is to install Ghost on your hosting plan. It can be quite difficult since most shared hosts don’t support node.js yet. Luckily there are quite a lot of node.js tutorials out there, and if you have shell access to your host you should be able to figure things out. Ghost also worked with a lot of hosts to create Ghost installation wizards, so

2 min read Jeremy Herve
Plugins | jeremy.hu | Feb. 20, 2015

Jetpack: add hashtags to the twitter sharing button

Here is how to get tags from your posts and use them in Jetpack's twitter button.

Jetpack: add hashtags to the twitter sharing button

Plugins | jeremy.hu | Feb. 20, 2015

A few days ago I explained how to add hashtags to the tweets sent out by Jetpack Publicize. But what about the tweets your read can send using the Jetpack Sharing buttons at the bottom of your posts? Here is how to get tags from your posts, and add them as hashtags to the twitter sharing button. As always, you’ll want to paste that code in a functionality plugin.
function jeherve_custom_sharing_title() {
$post = get_post();
if ( empty( $post ) ) {
return;
} else {
// Create sharing title
$sharing_title = get_the_title( $post->ID );

// Get the tags
$post_tags = get_the_tags( $post->ID );
if ( ! empty( $post_tags ) ) {
// Create list of tags with hashtags in front of them
$hash_tags = '';
foreach( $post_tags as $tag ) {
$hash_tags .= ' #' . $tag->name;
}
// Add tags to the title
$sharing_title .= $hash_tags;
}

return $sharing_title;
}
}
add_filter( 'sharing_title',

2 min read Jeremy Herve
Plugins | jeremy.hu | Jul. 10, 2014

Jetpack: remove the share counts from the sharing buttons

Jetpack's sharing module can be customized quite easily. Here is how to remove the sharing counts from the sharing buttons.

Jetpack: remove the share counts from the sharing buttons

Plugins | jeremy.hu | Jul. 10, 2014

Jetpack’s sharing buttons look good, are simple, and offer 4 different display options: Icon + Text
Text
Icon
Official Buttons
If you choose the 2 first button types, Jetpack automatically adds sharing counts for the most popular Social Networks.
This is great, but what if you don’t want to make extra requests to external services for each post that you publish on your site? Luckily, Jetpack allows you to remove the sharing counts with a simple filter:
add_filter( 'sharing_js', '__return_false' );
Once you add that filter to a functionality plugin or to your theme’s functions.php file, Jetpack will stop adding the Javascript library responsible for calling each Social Network to count the number of shares.
Your sharing buttons won’t include any count anymore, but you will have saved a few resources on your site!
Note: If you use the Email sharing button, this code will break it. You’ll want to enqueue the Email Javascript code back before to add the Email sharing button again.

Plugins | jeremy.hu | Feb. 17, 2015

Jetpack: add hashtags to tweets sent by Publicize

Here is how to add hashtags to the messages posted by Jetpack's Publicize module to Twitter and Facebook.