WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Pinterest Pin It Button For Images] Pin Featured Image in Sidebar

[Plugin: Pinterest Pin It Button For Images] Pin Featured Image in Sidebar

Viewing 3 replies - 1 through 3 (of 3 total)
  • i am also looking for featured image.

    jennjett
    Member

    @jennjett

    Looking for featured image use as well. Would love to get that working! thanks! jenn

    This code is working for me.

    <div class="featuredImg">
    <span class="pibfi_pinterest">
        <?php
            $pinterestimage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
        ?>
        <span class="xc_pin" onclick="pin_this(event, 'http://pinterest.com/pin/create/button/?url=<? the_permalink(); ?>&media=<?php echo $pinterestimage[0]; ?>&description=<?php the_title();?>')">
        </span>
    </span></div>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Pinterest Pin It Button For Images] Pin Featured Image in Sidebar’ is closed to new replies.