WordPress.org

Ready to get started?Download WordPress

Forums

Socialize
[resolved] Pinterest support (13 posts)

  1. alanpeto
    Member
    Posted 2 years ago #

    Would it be possible to get the Pinterest(.com) button added to the alert box? (http://pinterest.com/about/goodies/)

    It is the fastest growing website in 2011 and has lots of users.

    Thank you if you can do this, Socialize plugin is great :)

    http://wordpress.org/extend/plugins/socialize/

  2. Kristina
    Member
    Posted 2 years ago #

    I'd like to throw in my vote for the pinterest button. It would be great to have this, and it'd be the first social plugin i've ever seen to include it, which is really a boon to your development/company.

  3. natebird
    Member
    Posted 2 years ago #

    Count me in as well. My wife's blog receives a lot of traffic from Pinterest already. it would be nice to allow them to pin new things.

  4. rughooker
    Member
    Posted 2 years ago #

    Pinterest is HUGE with my visitors. Please add this to the plug in! Cannot find any plugin with facebook and pinterest together.

  5. pka13
    Member
    Posted 2 years ago #

    Good idea !

  6. db.studios
    Member
    Posted 2 years ago #

    i vote for this too!

  7. team6
    Member
    Posted 2 years ago #

    I sent the author Jon an email last week about it, and he said hes real close to releasing the next version which has pinterest.

    To hold you over, here are the code changes required to get an "inline" Pin It button into the Socialize plugin.

    In plugins/socialize/socialize-services.php

    Around line 437, add this:

    // Create Pinterest button
        function createSocializePinterest($service = "", $service_options = array(), $socialize_settings = null){
        // thumbnail url
        $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'thumbnail' );
        $thumb_url = $thumb['0'];
    
            $buttonCode = '<a href="http://pinterest.com/pin/create/button/?url='.get_permalink().'&media='. $thumb_url . '" class="pin-it-button" count-layout="horizontal">Pin It</a><script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script>';
            return $buttonCode;
        }

    plugins/socialize/frontend/socialize-frontend.php

    Around line 68, add this:

    case 26:
                    return $socializeWPservices->createSocializePinterest();
                    break;

    Around Line 137, add 26 to the array like so:

    $inline_buttons_array = array(1,2,3,4,5,6,7,8,9,10,22,24,26);

    plugins/socialize/admin/socialize-admin.php

    Around line 807, add 26 to the array like so:

    $inline_buttons_array = array(1,2,3,4,5,6,7,8,9,10,22,24,26);

    Around line 842, add this:

    $service_names_array[26] = "Pinterest";
  8. Jon Bishop
    Member
    Plugin Author

    Posted 2 years ago #

    It's coming. I've got it working in my latest version I hope to release very soon.

    I've got some other big changes coming I hope everyone will like!

  9. CreativeWP
    Member
    Posted 2 years ago #

    We need buttons for pinterest, tumblr?

  10. evanvar
    Member
    Posted 2 years ago #

    when its the next release?

  11. Ganache
    Member
    Posted 1 year ago #

    Can't wait for the pinterest update!

  12. Jon Bishop
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry this has taken so long. Stuff came up and it got delayed.

    This is where I'm at with the plugin now: https://github.com/jonbish/socialize

    Hoping to have a stable version ready soon.

  13. Jon Bishop
    Member
    Plugin Author

    Posted 1 year ago #

    Finally pushed the latest version live!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags