[resolved] [Plugin: OnlyWire for WordPress] Disabling "Bookmark" button after entry (1 post)

  1. haqu
    Posted 5 years ago #

    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;

Topic Closed

This topic has been closed to new replies.

About this Topic