Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Add filter to kc_social_share

By: daymobrew on Dec 11th, 2012  |  syntax: Diff  |  size: 0.97 KB  |  views: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- tf_display.orig.php 2012-05-16 16:12:41.000000000 +0100
  2. +++ tf_display.php      2012-12-11 20:41:11.271545500 +0000
  3. @@ -212,7 +212,7 @@
  4.                 if ($option['active_buttons']['facebook_like']==true) {
  5.                 $output .= '
  6.                         <div class="buttons">
  7. -                       <iframe src="http'.(is_ssl()?'s':'').'://www.facebook.com/plugins/like.php?href=' . urlencode($post_link) . '&amp;layout=box_count&amp;show_faces=false&amp;action=like&amp;font=verdana&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:50px; height:65px;"></iframe>
  8. +                       <iframe src="http'.(is_ssl()?'s':'').'://www.facebook.com/plugins/like.php?href=' . urlencode(apply_filters('kc_social_share_facebook',$post_link)) . '&amp;layout=box_count&amp;show_faces=false&amp;action=like&amp;font=verdana&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:50px; height:65px;"></iframe>
  9.                         </div>';
  10.                 }