Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Shared Counts - Pinterest Image

Plugin Version Total Downloads Plugin Rating WordPress Compatibility License

Contributors: billerickson
Tags: pinterest, image, sharing, social sharing, share buttons, social buttons, share counts, social
Requires at least: 4.6
Tested up to: 5.6
Stable tag: 1.4.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This add-on for Shared Counts allows you to share a different image on Pinterest.

Shared Counts uses the post's featured image for sharing across all platforms. But given the unique display of images on Pinterest, it's useful to specify a separate, Pinterest-only image that's formatted for that service.

This plugin will only work if Shared Counts is active. It does not work with any other social sharing plugins.

Screenshot

screenshot

Installation

  1. Download the plugin from GitHub. or from WordPress.org.
  2. Activate plugin.
  3. When editing a post, use the "Pinterest Sharing Image" metabox in the sidebar (see screenshot).

Customization

By default the Pinterest Sharing Image box is only added to posts, but you can use a filter to add support for other post types.

The following code will add the box to pages. Add it to your theme's functions.php file or a Core Functionality plugin.

/**
 * Pinterest Sharing Image on pages
 *
 * @author Bill Erickson
 * @see https://github.com/billerickson/Shared-Counts-Pinterest-Image
 *
 * @param array $post_types
 * @return array
 */
function be_pinterest_image_on_pages( $post_types ) {
	$post_types[] = 'page';
	return $post_types;
}
add_filter( 'shared_counts_pinterest_image_post_types', 'be_pinterest_image_on_pages' );

Bugs

If you find an bug or problem, please let us know by creating an issue.

About

Use a separate image for sharing on Pinterest

Resources

Releases

No releases published

Packages

No packages published