Support » Plugins and Hacks » [Plugin: OnlyWire for WordPress] Disabling “Bookmark” button after entry

  • Resolved haqu

    (@haqu)


    as far as there is no option to disable automatic addition of “bookmark” button after each entry, here is a workaround. edit wp-content/plugins/onlywire-bookmark-share-button/owbutton_wordpress.php. find function ow_function($text) and comment everything inside, except last line with “return”:

    function ow_function($text) {
    //  global $post;
    //
    //  $code = get_option('ow_script');
    //
    //  if($code) {
    //    $text .= '<script type="text/javascript" class="owbutton" src="http://onlywire.com/btn/button_'.$code.'" title="'.$post->post_title.'" url="'.get_permalink($post->ID).'"></script>';
    //  } else {
    //    $text .= '<script type="text/javascript" class="owbutton" src="http://onlywire.com/button" title="'.$post->post_title.'" url="'.get_permalink($post->ID).'"></script>';
    //  }
    
      return $text;
    }
  • The topic ‘[Plugin: OnlyWire for WordPress] Disabling “Bookmark” button after entry’ is closed to new replies.