| @@ -725,9 +725,9 @@ | ||
| 725 | 725 | <script type="text/javascript"> |
| 726 | 726 | jQuery( document ).ready( function() { |
| 727 | 727 | jQuery( '#toplevel_page_visualizer' ).on( 'click', 'li:not(.wp-submenu-head, .wp-first-item):eq(2)', function( e ) { |
| 728 | 728 | e.preventDefault(); |
| 729 | - window.open( 'https://themeisle.com/plugins/visualizer-charts-and-graphs/upgrade/#pricing', '_blank' ); | |
| 729 | + window.open( '<?php echo tsdk_utmify( 'https://themeisle.com/plugins/visualizer-charts-and-graphs/upgrade/', 'toplevel' ); ?>', '_blank' ); | |
| 730 | 730 | } ); |
| 731 | 731 | } ); |
| 732 | 732 | </script> |
| 733 | 733 | <?php |
| @@ -967,8 +967,15 @@ | ||
| 967 | 967 | $css .= $arguments[0]; |
| 968 | 968 | $settings = $arguments[1]; |
| 969 | 969 | } |
| 970 | 970 | |
| 971 | + if ( isset( $settings['controls']['ui']['labelStacking'] ) ) { | |
| 972 | + unset( $settings['controls']['ui']['labelStacking'] ); | |
| 973 | + } | |
| 974 | + if ( isset( $settings['controls']['ui']['orientation'] ) ) { | |
| 975 | + unset( $settings['controls']['ui']['orientation'] ); | |
| 976 | + } | |
| 977 | + | |
| 971 | 978 | // add chart to the array |
| 972 | 979 | $charts[ $id ] = array( |
| 973 | 980 | 'id' => $chart->ID, |
| 974 | 981 | 'type' => $type, |
| @@ -1085,9 +1092,9 @@ | ||
| 1085 | 1092 | esc_html__( 'Docs', 'visualizer' ) |
| 1086 | 1093 | ); |
| 1087 | 1094 | // flattr link |
| 1088 | 1095 | $plugin_meta[] = sprintf( |
| 1089 | - '<a style="color:red" href="' . Visualizer_Plugin::PRO_TEASER_URL . '" target="_blank">%s</a>', | |
| 1096 | + '<a style="color:red" href="' . tsdk_utmify( Visualizer_Plugin::PRO_TEASER_URL, 'pluginrow' ) . '" target="_blank">%s</a>', | |
| 1090 | 1097 | esc_html__( 'Pro Addon', 'visualizer' ) |
| 1091 | 1098 | ); |
| 1092 | 1099 | } |
| 1093 | 1100 | |