WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] choose fields Jetpack posts to Pinterest

[Resolved] choose fields Jetpack posts to Pinterest

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Herve

    @jeherve

    While the original Pinterest button cannot be edited, you can create your own customized button by following the instructions here:
    Sharing

    It seems like it would go somethign like this, but I’m not having any luck:

    https://pinterest.com/login/?next=/pin/create/button/?url=%post_url%&description=%post_excerpt%&media=http://imgurl.jpg

    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?

    Plugin Author Jeremy Herve

    @jeherve

    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:
    http://codex.wordpress.org/Function_Reference/the_excerpt#Control_Excerpt_Length_using_Filters

    What about accessing the image url? Is there a filter I can use to create a new variable?

    Plugin Author Jeremy Herve

    @jeherve

    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:
    http://plugins.trac.wordpress.org/browser/jetpack/trunk/modules/sharedaddy/sharing-sources.php#L953

    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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] choose fields Jetpack posts to Pinterest’ is closed to new replies.
Skip to toolbar