Add Pinterest to Subscribe and Connect
Canvas and newer themes have updated social icons: http://d.pr/i/RTv4/2hiYDNhC
We’re planning to build the S&C function into a plugin, so we won’t be updating older themes with more icons.
17 comments
-
Anonymous
commented
WordPress can be easily extended with share buttons with the WordPress official http://jetpack.me. This pack contains share to Pinterest.
-
Larry
commented
Thanks for this! Just what I needed. Now looking for share to pinterest for posts.
-
Anonymous
commented
Looks great, thanks!
-
Joe Lloyd
commented
This is great! Glad you implemented it. Thanks!
-
Anonymous
commented
Nice mkelly! Twitter and Google Plus updated, Pinterest added. I'd only implement this if I can do this via a child theme so I can keep updating framework & Canvas without thinking about it.
I added the png as images/ico-subscribe-social.png in my child theme but WordPress still serves the Canvas one. I also wonder where you'd put the Pinterest URL.
Woothemes: time to update this part ;)
-
Joe Lloyd
commented
I personally don't understand why you're limited to only a certain amount of icons and sites. The social media aspect of the Subscribe & Connect functionality is actually more limiting than using a widget to manually add the icons and links yourself.
For example, now that I need to add a Pinterest icon to my site I actually have to recreate my whole Social Media linking section outside of the Subscribe & Connect section because I can't add my own custom icons in the same location. I'm questioning why I used it in the first place if I would inevitably end up having to add a manually built section anyway. There seriously should be some way to add a custom icon and link...
-
mkelly
commented
http://i.imgur.com/wFD2KUZ.png
this is the updated png file with my added pinterest button (I tried to keep it similar to the others).
Add to style.css after.social a.facebook {
background-position: -60px 0;
}.social a.pinterest {
background-position: -240px 0;
}Comment if it does not work. I may be able to help if you use a free theme, this one should work for mystile
-
mkelly
commented
If you are able to edit your theme files the files to edit are:
theme-options.php
theme-functions.phpIn theme-options.php
search for "Facebook URL" and find$options[] = array( 'name' => __( 'Facebook URL', 'woothemes' ),
'desc' => sprintf( __( 'Enter your %1$s URL e.g. http://www.facebook.com/woothemes', 'woothemes' ), '<a href="http://www.facebook.com/">'.__( 'Facebook', 'woothemes' ).'</a>' ),
'id' => $shortname . '_connect_facebook',
'std' => '',
'type' => 'text' );Directly underneath this copy
$options[] = array( 'name' => __( 'Pinterest URL', 'woothemes' ),
'desc' => sprintf( __( 'Enter your %1$s URL e.g. http://www.pinterest.com/woothemes', 'woothemes' ), '<a href="http://www.pinterest.com/">'.__( 'Pinterest', 'woothemes' ).'</a>' ),
'id' => $shortname . '_connect_pinterest',
'std' => '',
'type' => 'text' );It is the same style as all the others with the word facebook replaced with pinterest
In theme-functions search for "connect_facebook" find 'connect_facebook' => '',
and add underneath 'connect_pinterest' => '',
Search for "connect_facebook" again to find
<?php } if ( $settings['connect_facebook' ] != "" ) { ?>
<a href="<?php echo esc_url( $settings['connect_facebook'] ); ?>" class="facebook" title="Facebook"></a>and add
<?php } if ( $settings['connect_pinterest' ] != "" ) { ?>
<a href="<?php echo esc_url( $settings['connect_pinterest'] ); ?>" class="pinterest" title="Pinterest"></a>underneath just like all the rest look.
For styling I edited the default icons to add a pinterest one and will upload later with styling
-
Anonymous
commented
Please add Pinterest to "subscribe and connect"! It is hugely gaining in popularity as a social media info sharing platform and would make things a lot easier.
-
Mike Hoefer commented
I'm using the "Follow Company" (LinkedIn button) on a lot of biz sites. While we are dreaming would be cool to include that https://developer.linkedin.com/plugins/follow-company
-
Frank Swift
commented
Had the same thought, in addition I'd also like to see Tumblr, Instagram and Foursquare included in S & C. :-)
-
Mike Hoefer commented
I wonder if there is a way to just allow entry of a URL and Icon (of a defined size) to allow ultimate flexibility here. That way as things come and go woo does not need to decide what should be included. maybe Twitter/FB/Google+ are core and others can be added though the enter URL/upload icon route?
-
Mario Soto Jr
commented
I was just looking for this myself I just got my first theme from wootheme and I'm shocked you don't have this option for adding pinterest to the subscribe and connect.
-
Anonymous
commented
But if this is somehow possible via functions.php and somebody wants to share a workaround... :)
-
Katie
commented
I'd love this; it's a bit tedious having to go in and add it myself :)
-
Arom77
commented
Must have... and really simple to do ;-)
-
Gretchen Acheson commented
Oops, wrong idea with wrong title...sorry!