Using Jetpack’s social sharing module, I’d like to change what content is shared when a visitor “pins” a post. Currently it’s using the post title. I’d like to use the post content.
How can I extend the plugin to do this?
While the original Pinterest button cannot be edited, you can create your own customized button by following the instructions here:
It seems like it would go somethign like this, but I’m not having any luck:
The biggest problem is that there’s not a variable for image url. And really I need the_content, not the excerpt, but I can probably set the excerpt longer. But even when I’ve entered a full image URL, the above does not work. Can you help?
I am afraid I do not know the different parameters accepted by the Pinterest Share URL. If the “media” parameter does not work for you, you’ll have to contact Pinterest about this.
And really I need the_content, not the excerpt, but I can probably set the excerpt longer.
That seems to be the best solution indeed, since the post content might contain more than 500 characters.
You can find out how to change excerpt’s length here:
What about accessing the image url? Is there a filter I can use to create a new variable?
We do not offer any tag to access the image URL, nor any filter to create a new variable for the custom sharing services.
You can have a look at it here:
I am afraid I was wrong to suggest you to create your own custom service for Pinterest; while you’d be able to change the pin description, you won’t be to add an image to the pin.
At this point, I can only suggest that you build you own Pin button. Sorry not to be able to help you more!
- The topic ‘choose fields Jetpack posts to Pinterest’ is closed to new replies.