PluginProbe
Visual Website Optimizer / 2.8
Visual Website Optimizer v2.8
trunk 1.0 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0 4.1 4.10 All 37 releases
← All changes | visual-website-optimizer.php +14 -16 2.62.8 View file →
@@ -1,15 +1,13 @@
1 1 <?php
2 2 /*
3 -Plugin Name: Visual Website Optimizer
3 +Plugin Name: VWO
4 4 Plugin URI: https://vwo.com/
5 -Description: Visual Website Optimizer is the world's easiest to use A/B, split and multivariate testing tool. Simply enable the plugin and start running tests on your Wordpress website without doing any other code changes. Visit <a href="https://vwo.com/">Visual Website Optimizer</a> for more details.
6 -Author: Andy Bailey
7 -Version: 2.6
8 -screenshot-1.png
9 -screenshot-2.png
5 +Description: VWO is the all-in-one platform that helps you conduct visitor research, build an optimization roadmap, and run continuous experimentation. Simply enable the plugin and start running tests on your Wordpress website without doing any other code changes. Visit <a href="https://vwo.com/">Visual Website Optimizer</a> for more details.
6 +Author: Wingify
7 +Version: 2.8
10 8 visual-website-optimizer.php
11 -Author URI: http://fiddyp.co.uk
9 +Author URI: https://wingify.com
12 10
13 11 This relies on the actions being present in the themes header.php and footer.php
14 12 * header.php code before the closing </head> tag
15 13 * wp_head();
@@ -20,9 +18,9 @@
20 18 //---Config---------------------------------------------------------------//
21 19 //------------------------------------------------------------------------//
22 20
23 21 $clhf_header_script_sync = '
24 -<!-- Start Visual Website Optimizer Code -->
22 +<!-- Start VWO Code -->
25 23 <script type=\'text/javascript\'>
26 24 var _vis_opt_account_id = VWO_ID;
27 25 var _vis_opt_protocol = ((\'https:\' == document.location.protocol) ? \'https://\' : \'http://\');
28 26 document.write(\'<s\' + \'cript src="\' + _vis_opt_protocol + \'dev.visualwebsiteoptimizer.com/deploy/js_visitor_settings.php?v=1&a=\'+_vis_opt_account_id+\'&url=\'+encodeURIComponent(document.URL)+\'&random=\'+Math.random()+\'" type="text/javascript">\' + \'<\/s\' + \'cript>\');
@@ -33,13 +31,13 @@
33 31 <script type=\'text/javascript\'>
34 32 if(typeof(_vis_opt_settings_loaded) == "boolean" && typeof(_vis_opt_top_initialize) == "function"){ _vis_opt_top_initialize();
35 33 vwo_$(document).ready(function() { _vis_opt_bottom_initialize(); }); }
36 34 </script>
37 -<!-- End Visual Website Optimizer Code -->
35 +<!-- End VWO Code -->
38 36 ';
39 37
40 38 $clhf_header_script_async = '
41 -<!-- Start Visual Website Optimizer Asynchronous Code -->
39 +<!-- Start VWO Asynchronous Code -->
42 40 <script type=\'text/javascript\'>
43 41 var _vwo_code=(function(){
44 42 var account_id=VWO_ID,
45 43 settings_tolerance=SETTINGS_TOLERANCE,
@@ -46,9 +44,9 @@
46 44 library_tolerance=LIBRARY_TOLERANCE,
47 45 use_existing_jquery=false,
48 46 f=false,d=document;return{use_existing_jquery:function(){return use_existing_jquery;},library_tolerance:function(){return library_tolerance;},finish:function(){if(!f){f=true;var a=d.getElementById(\'_vis_opt_path_hides\');if(a)a.parentNode.removeChild(a);}},finished:function(){return f;},load:function(a){var b=d.createElement(\'script\');b.src=a;b.type=\'text/javascript\';b.innerText;b.onerror=function(){_vwo_code.finish();};d.getElementsByTagName(\'head\')[0].appendChild(b);},init:function(){settings_timer=setTimeout(\'_vwo_code.finish()\',settings_tolerance);this.load(\'//dev.visualwebsiteoptimizer.com/j.php?a=\'+account_id+\'&u=\'+encodeURIComponent(d.URL)+\'&r=\'+Math.random());var a=d.createElement(\'style\'),b=\'body{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}\',h=d.getElementsByTagName(\'head\')[0];a.setAttribute(\'id\',\'_vis_opt_path_hides\');a.setAttribute(\'type\',\'text/css\');if(a.styleSheet)a.styleSheet.cssText=b;else a.appendChild(d.createTextNode(b));h.appendChild(a);return settings_timer;}};}());_vwo_settings_timer=_vwo_code.init();
49 47 </script>
50 -<!-- End Visual Website Optimizer Asynchronous Code -->
48 +<!-- End VWO Asynchronous Code -->
51 49 ';
52 50
53 51
54 52 //------------------------------------------------------------------------//
@@ -105,10 +103,10 @@
105 103 //------------------------------------------------------------------------//
106 104 // options page
107 105 function vwo_clhf_plugin_options() {
108 106 echo '<div class="wrap">';?>
109 - <h2>Visual Website Optimizer</h2>
110 - <p>You need to have a <a href="https://vwo.com/">Visual Website Optimizer</a> account in order to use this plugin. This plugin inserts the neccessary code into your Wordpress site automatically without you having to touch anything. In order to use the plugin, you need to enter your VWO Account ID:</p>
107 + <h2>VWO</h2>
108 + <p>You need to have a <a href="https://vwo.com/">VWO</a> account in order to use this plugin. This plugin inserts the neccessary code into your Wordpress site automatically without you having to touch anything. In order to use the plugin, you need to enter your VWO Account ID:</p>
111 109 <form method="post" action="options.php">
112 110 <?php settings_fields( 'clhf_vwo_options' ); ?>
113 111 <table class="form-table">
114 112 <tr valign="top">
@@ -149,9 +147,9 @@
149 147 }
150 148 }
151 149 </script>
152 150 <p class="submit"><input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" /></p>
153 - <p>Your Account ID (a number) can be found in <i>Settings</i> area (top-right) after you <a href="https://app.vwo.com">login</a> into your Visual Website Optimizer account.</p>
151 + <p>Your Account ID (a number) can be found in <i>Settings</i> area (top-right) after you <a href="https://app.vwo.com">login</a> into your VWO account.</p>
154 152 <?php
155 153 echo '</div>';
156 154 }
157 155
@@ -160,8 +158,8 @@
160 158 return;
161 159
162 160 $clhf_option = get_option("vwo_id");
163 161 if (!$clhf_option || $clhf_option < 1){
164 - echo "<div id='vwo-warning' class='updated fade'><p><strong>Visual Website Optimizer is almost ready.</strong> You must <a href=\"options-general.php?page=clhf_vwo_options\">enter your Account ID</a> for it to work.</p></div>";
162 + echo "<div id='vwo-warning' class='updated fade'><p><strong>VWO is almost ready.</strong> You must <a href=\"options-general.php?page=clhf_vwo_options\">enter your Account ID</a> for it to work.</p></div>";
165 163 }
166 164 }
167 -?>
165 +?>