Change to make widget title linkable
-
Change
function view($is_widget, $args=array()) { if($is_widget) extract($args); // get widget options $options = get_option('ts3_wp_viewer'); $serverip = $options['serverip']; $queryport = $options['queryport']; $virtualserverport = $options['virtualserverport']; $displaynamesonly=$options['displaynamesonly']; $name = $options['name']; $path = plugins_url( 'teamspeak-3-viewer-plugin-for-wordpress-widget/images/viewer/' ); // Load the Lib
To
function view($is_widget, $args=array()) { if($is_widget) extract($args); // get widget options $options = get_option('ts3_wp_viewer'); $serverip = $options['serverip']; $queryport = $options['queryport']; $virtualserverport = $options['virtualserverport']; $displaynamesonly=$options['displaynamesonly']; $name = $options['name']; $path = plugins_url( 'teamspeak-3-viewer-plugin-for-wordpress-widget/images/viewer/' ); $before_title .= '<a href="ts3server://'.$serverip.'?port='.$virtualserverport.'">'; $after_title = '</a>' . $after_title; // Load the Lib
https://www.ads-software.com/extend/plugins/teamspeak-3-viewer-plugin-for-wordpress-widget/
- The topic ‘Change to make widget title linkable’ is closed to new replies.