SHARE
TWEET

Add filter to kc_social_share

daymobrew Dec 11th, 2012 38 Never
  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.                 }
RAW Paste Data
Top