Changeset 1512524
- Timestamp:
- 10/11/2016 08:00:27 AM (10 years ago)
- Location:
- goodvidio-integration
- Files:
-
- 191 added
- 2 edited
-
tags/1.1 (added)
-
tags/1.1/css (added)
-
tags/1.1/css/style.min.css (added)
-
tags/1.1/fonts (added)
-
tags/1.1/fonts/Panton (added)
-
tags/1.1/fonts/Panton/Panton-Black.eot (added)
-
tags/1.1/fonts/Panton/Panton-Black.svg (added)
-
tags/1.1/fonts/Panton/Panton-Black.ttf (added)
-
tags/1.1/fonts/Panton/Panton-Black.woff (added)
-
tags/1.1/fonts/Panton/Panton-Black.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-BlackItalic.eot (added)
-
tags/1.1/fonts/Panton/Panton-BlackItalic.svg (added)
-
tags/1.1/fonts/Panton/Panton-BlackItalic.ttf (added)
-
tags/1.1/fonts/Panton/Panton-BlackItalic.woff (added)
-
tags/1.1/fonts/Panton/Panton-BlackItalic.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-Bold.eot (added)
-
tags/1.1/fonts/Panton/Panton-Bold.svg (added)
-
tags/1.1/fonts/Panton/Panton-Bold.ttf (added)
-
tags/1.1/fonts/Panton/Panton-Bold.woff (added)
-
tags/1.1/fonts/Panton/Panton-Bold.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-BoldItalic.eot (added)
-
tags/1.1/fonts/Panton/Panton-BoldItalic.svg (added)
-
tags/1.1/fonts/Panton/Panton-BoldItalic.ttf (added)
-
tags/1.1/fonts/Panton/Panton-BoldItalic.woff (added)
-
tags/1.1/fonts/Panton/Panton-BoldItalic.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBlack.eot (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBlack.svg (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBlack.ttf (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBlack.woff (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBlack.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBlackItalic.eot (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBlackItalic.svg (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBlackItalic.ttf (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBlackItalic.woff (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBlackItalic.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBold.eot (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBold.svg (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBold.ttf (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBold.woff (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBold.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBoldItalic.eot (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBoldItalic.svg (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBoldItalic.ttf (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBoldItalic.woff (added)
-
tags/1.1/fonts/Panton/Panton-ExtraBoldItalic.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-ExtraLight.eot (added)
-
tags/1.1/fonts/Panton/Panton-ExtraLight.svg (added)
-
tags/1.1/fonts/Panton/Panton-ExtraLight.ttf (added)
-
tags/1.1/fonts/Panton/Panton-ExtraLight.woff (added)
-
tags/1.1/fonts/Panton/Panton-ExtraLight.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-ExtraLightItalic.eot (added)
-
tags/1.1/fonts/Panton/Panton-ExtraLightItalic.svg (added)
-
tags/1.1/fonts/Panton/Panton-ExtraLightItalic.ttf (added)
-
tags/1.1/fonts/Panton/Panton-ExtraLightItalic.woff (added)
-
tags/1.1/fonts/Panton/Panton-ExtraLightItalic.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-Italic.eot (added)
-
tags/1.1/fonts/Panton/Panton-Italic.svg (added)
-
tags/1.1/fonts/Panton/Panton-Italic.ttf (added)
-
tags/1.1/fonts/Panton/Panton-Italic.woff (added)
-
tags/1.1/fonts/Panton/Panton-Italic.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-Light.eot (added)
-
tags/1.1/fonts/Panton/Panton-Light.svg (added)
-
tags/1.1/fonts/Panton/Panton-Light.ttf (added)
-
tags/1.1/fonts/Panton/Panton-Light.woff (added)
-
tags/1.1/fonts/Panton/Panton-Light.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-LightItalic.eot (added)
-
tags/1.1/fonts/Panton/Panton-LightItalic.svg (added)
-
tags/1.1/fonts/Panton/Panton-LightItalic.ttf (added)
-
tags/1.1/fonts/Panton/Panton-LightItalic.woff (added)
-
tags/1.1/fonts/Panton/Panton-LightItalic.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-Regular.eot (added)
-
tags/1.1/fonts/Panton/Panton-Regular.svg (added)
-
tags/1.1/fonts/Panton/Panton-Regular.ttf (added)
-
tags/1.1/fonts/Panton/Panton-Regular.woff (added)
-
tags/1.1/fonts/Panton/Panton-Regular.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-SemiBold.eot (added)
-
tags/1.1/fonts/Panton/Panton-SemiBold.svg (added)
-
tags/1.1/fonts/Panton/Panton-SemiBold.ttf (added)
-
tags/1.1/fonts/Panton/Panton-SemiBold.woff (added)
-
tags/1.1/fonts/Panton/Panton-SemiBold.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-SemiBoldItalic.eot (added)
-
tags/1.1/fonts/Panton/Panton-SemiBoldItalic.svg (added)
-
tags/1.1/fonts/Panton/Panton-SemiBoldItalic.ttf (added)
-
tags/1.1/fonts/Panton/Panton-SemiBoldItalic.woff (added)
-
tags/1.1/fonts/Panton/Panton-SemiBoldItalic.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-Thin.eot (added)
-
tags/1.1/fonts/Panton/Panton-Thin.svg (added)
-
tags/1.1/fonts/Panton/Panton-Thin.ttf (added)
-
tags/1.1/fonts/Panton/Panton-Thin.woff (added)
-
tags/1.1/fonts/Panton/Panton-Thin.woff2 (added)
-
tags/1.1/fonts/Panton/Panton-ThinItalic.eot (added)
-
tags/1.1/fonts/Panton/Panton-ThinItalic.svg (added)
-
tags/1.1/fonts/Panton/Panton-ThinItalic.ttf (added)
-
tags/1.1/fonts/Panton/Panton-ThinItalic.woff (added)
-
tags/1.1/fonts/Panton/Panton-ThinItalic.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsA-Bold.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsA-Bold.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsA-Bold.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsA-Bold.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsA-Bold.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsA-Regular.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsA-Regular.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsA-Regular.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsA-Regular.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsA-Regular.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsAFill-Bold.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsAFill-Bold.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsAFill-Bold.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsAFill-Bold.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsAFill-Bold.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsAFill-Regular.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsAFill-Regular.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsAFill-Regular.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsAFill-Regular.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsAFill-Regular.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsB-Bold.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsB-Bold.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsB-Bold.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsB-Bold.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsB-Bold.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsB-Regular.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsB-Regular.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsB-Regular.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsB-Regular.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsB-Regular.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsBFill-Bold.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsBFill-Bold.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsBFill-Bold.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsBFill-Bold.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsBFill-Bold.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsBFill-Regular.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsBFill-Regular.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsBFill-Regular.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsBFill-Regular.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsBFill-Regular.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsC-Bold.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsC-Bold.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsC-Bold.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsC-Bold.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsC-Bold.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsC-Regular.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsC-Regular.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsC-Regular.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsC-Regular.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsC-Regular.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsCFill-Bold.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsCFill-Bold.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsCFill-Bold.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsCFill-Bold.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsCFill-Bold.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsCFill-Regular.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsCFill-Regular.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsCFill-Regular.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsCFill-Regular.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsCFill-Regular.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsD-Bold.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsD-Bold.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsD-Bold.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsD-Bold.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsD-Bold.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsD-Regular.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsD-Regular.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsD-Regular.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsD-Regular.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsD-Regular.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsDFill-Bold.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsDFill-Bold.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsDFill-Bold.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsDFill-Bold.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsDFill-Bold.woff2 (added)
-
tags/1.1/fonts/Panton/PantonIconsDFill-Regular.eot (added)
-
tags/1.1/fonts/Panton/PantonIconsDFill-Regular.svg (added)
-
tags/1.1/fonts/Panton/PantonIconsDFill-Regular.ttf (added)
-
tags/1.1/fonts/Panton/PantonIconsDFill-Regular.woff (added)
-
tags/1.1/fonts/Panton/PantonIconsDFill-Regular.woff2 (added)
-
tags/1.1/fonts/font-awesome (added)
-
tags/1.1/fonts/font-awesome/css (added)
-
tags/1.1/fonts/font-awesome/css/font-awesome.css (added)
-
tags/1.1/fonts/font-awesome/css/font-awesome.min.css (added)
-
tags/1.1/fonts/font-awesome/fonts (added)
-
tags/1.1/fonts/font-awesome/fonts/FontAwesome.otf (added)
-
tags/1.1/fonts/font-awesome/fonts/fontawesome-webfont.eot (added)
-
tags/1.1/fonts/font-awesome/fonts/fontawesome-webfont.svg (added)
-
tags/1.1/fonts/font-awesome/fonts/fontawesome-webfont.ttf (added)
-
tags/1.1/fonts/font-awesome/fonts/fontawesome-webfont.woff (added)
-
tags/1.1/fonts/font-awesome/fonts/fontawesome-webfont.woff2 (added)
-
tags/1.1/goodvidio.php (added)
-
tags/1.1/images (added)
-
tags/1.1/images/favicon.png (added)
-
tags/1.1/images/goodvidio-logo-black-250px.png (added)
-
tags/1.1/readme.txt (added)
-
trunk/goodvidio.php (modified) (10 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
goodvidio-integration/trunk/goodvidio.php
r1467582 r1512524 8 8 * accessories, baby products, or fast-moving consumer goods, Goodvidio is an 9 9 * excellent fit for your store! 10 * Version: 1. 010 * Version: 1.1 11 11 * Author: Goodvidio 12 12 * Author URI: http://goodvid.io/ … … 35 35 */ 36 36 $goodvidioSettingsGroupName = 'goodvidio_settings'; 37 $goodvidioVideoPositionOptionName = 'goodvidio_gallery_position';38 $goodvidioVideoPositionPlaceOptionName = 'goodvidio_gallery_position_place';39 37 $goodvidioIntegrationStatusOptionName = 'goodvidio_enabled'; 40 38 $goodvidioIntegrationDomainOptionName = 'goodvidio_integration_domain'; 41 39 $goodvidioEcommerceTrackingOptionName = 'goodvidio_ecommerce_tracking'; 42 40 43 $goodvidioGalleryPositionOptions = array(44 'woocommerce_after_single_product' => 'After product area',45 'woocommerce_after_single_product_summary' => 'After product summary area',46 'woocommerce_before_single_product' => 'Before product area',47 'woocommerce_single_product_summary' => 'Inside product summary area',48 );49 50 41 add_action('admin_menu', 'goodvidio_admin_menu'); 51 42 52 43 add_action('woocommerce_thankyou', 'goodvidio_send_order'); 53 44 54 add_action('wp_footer', 'goodvidio_show_gallery'); 55 add_action('woocommerce_after_single_product', 'goodvidio_show_gallery'); 56 add_action('woocommerce_after_single_product_summary', 'goodvidio_show_gallery'); 57 add_action('woocommerce_before_single_product', 'goodvidio_show_gallery'); 58 add_action('woocommerce_before_single_product_summary', 'goodvidio_show_gallery'); 59 add_action('woocommerce_single_product_summary', 'goodvidio_show_gallery'); 45 add_action('wp_footer', 'goodvidio_inject_script'); 60 46 61 47 register_activation_hook(__FILE__, array('Goodvidio_InstallCheck', 'install') ); … … 84 70 global 85 71 $goodvidioSettingsGroupName, 86 $goodvidioVideoPositionOptionName,87 $goodvidioVideoPositionPlaceOptionName,88 72 $goodvidioIntegrationStatusOptionName, 89 73 $goodvidioEcommerceTrackingOptionName, 90 74 $goodvidioIntegrationDomainOptionName; 91 75 92 unregister_setting($goodvidioSettingsGroupName, $goodvidioVideoPositionOptionName);93 76 unregister_setting($goodvidioSettingsGroupName, $goodvidioIntegrationStatusOptionName); 94 77 unregister_setting($goodvidioSettingsGroupName, $goodvidioIntegrationDomainOptionName); 95 unregister_setting($goodvidioSettingsGroupName, $goodvidioVideoPositionPlaceOptionName);96 78 unregister_setting($goodvidioSettingsGroupName, $goodvidioEcommerceTrackingOptionName); 97 79 } … … 113 95 * for the product in that specific hook position, if not then nothing. 114 96 */ 115 function goodvidio_ show_gallery()97 function goodvidio_inject_script() 116 98 { 117 99 global $wp_current_filter; 118 global $goodvidioVideoPositionOptionName;119 global $goodvidioGalleryPositionOptions;120 100 global $goodvidioIntegrationStatusOptionName; 121 101 global $goodvidioIntegrationDomainOptionName; 122 global $goodvidioVideoPositionPlaceOptionName;123 102 global $product; 124 103 125 $sku = null;126 127 if ($product) {128 $sku = $product->get_sku();129 }130 $hookChosen = get_option($goodvidioVideoPositionOptionName);131 104 $enabled = filter_var(get_option($goodvidioIntegrationStatusOptionName), FILTER_VALIDATE_BOOLEAN); 132 105 $domain = get_option($goodvidioIntegrationDomainOptionName); 133 $position = get_option($goodvidioVideoPositionPlaceOptionName);134 106 $domainScriptOutput = get_option($goodvidioIntegrationDomainOptionName) ? "g.setAttribute('data-domain', '" . $domain . "');" : ""; 135 107 … … 138 110 } 139 111 140 if (!in_array($hookChosen, $goodvidioGalleryPositionOptions) && $sku) {141 echo "<script>(function() {142 var tc_goodvidio_div_main = document.querySelectorAll('" . $hookChosen . "')[0];143 if (typeof tc_goodvidio_div_main != 'undefined' && tc_goodvidio_div_main != null) {144 var goodvidio_div1 = document.createElement('div');145 goodvidio_div1.id = 'goodvidio-product-videos';";146 147 if ($position === 'before') {148 echo "tc_goodvidio_div_main.parentNode.insertBefore(goodvidio_div1, tc_goodvidio_div_main);";149 } else if ($position === 'after') {150 echo "tc_goodvidio_div_main.parentNode.insertBefore(goodvidio_div1, tc_goodvidio_div_main.nextSibling);";151 }152 153 echo "var goodvidio_div2 = document.createElement('div');154 goodvidio_div2.id = 'tc_div_325_1';155 goodvidio_div2.className = 'goodvidio-product-track';156 goodvidio_div2.setAttribute('data-goodvidio-product-id', '" . $sku . "');157 goodvidio_div1.appendChild(goodvidio_div2);158 }159 })();</script>";160 }161 if ($wp_current_filter[0] == $hookChosen && $sku) {162 echo '<div id="goodvidio-product-videos">163 <div class="goodvidio-product-track" data-goodvidio-product-id="' . $sku . '"></div>164 </div>';165 }166 112 echo "<script>(function(d,t,id) { 167 113 var s = d.getElementsByTagName(t)[0],g,att; … … 329 275 goodvidio_include_files(); 330 276 global 331 $goodvidioGalleryPositionOptions,332 $goodvidioVideoPositionOptionName,333 277 $goodvidioSettingsGroupName, 334 278 $goodvidioIntegrationStatusOptionName, 335 $goodvidioVideoPositionPlaceOptionName,336 279 $goodvidioEcommerceTrackingOptionName, 337 280 $goodvidioIntegrationDomainOptionName; … … 339 282 * Gets the stored gallery position decided by the user in the database. 340 283 */ 341 $positionValue = get_option($goodvidioVideoPositionOptionName) ? get_option($goodvidioVideoPositionOptionName) : array_keys($goodvidioGalleryPositionOptions)[0];342 $positionPlaceValue = get_option($goodvidioVideoPositionPlaceOptionName);343 284 $integrationStatusValue = filter_var(get_option($goodvidioIntegrationStatusOptionName), FILTER_VALIDATE_BOOLEAN); 344 285 $ecommerceTrackingValue = filter_var(get_option($goodvidioEcommerceTrackingOptionName), FILTER_VALIDATE_BOOLEAN); … … 403 344 <tr> 404 345 <th scope="row"> 405 <h3>Goodvidio gallery</h3>406 </th>407 </tr>408 <tr>409 <th scope="row">410 <label for="<?php echo $goodvidioVideoPositionOptionName ?>">Gallery position: </label></br>411 </th>412 <td>413 <?php414 foreach($goodvidioGalleryPositionOptions as $index => $position) {415 if ($positionValue === $index) {416 echo '<input type="radio" name="' .417 $goodvidioVideoPositionOptionName .418 '" value="' . $index . '" checked>' .419 $position .420 '<br/>';421 } else {422 echo '<input type="radio" name="' .423 $goodvidioVideoPositionOptionName .424 '" value="' . $index . '">' .425 $position .426 '<br/>';427 }428 }429 ?>430 <input431 type="radio"432 name="<?php echo $goodvidioVideoPositionOptionName ?>"433 value="<?php echo !array_key_exists($positionValue, $goodvidioGalleryPositionOptions) ? $positionValue : ''; ?>"434 id="custom-gallery-position"435 <?php echo !array_key_exists($positionValue, $goodvidioGalleryPositionOptions) ? 'checked' : ''; ?>>436 <select437 name="<?php echo $goodvidioVideoPositionPlaceOptionName ?>">438 <option439 value="before"440 <?php echo $positionPlaceValue === "before" ? 'selected' : ''?>>441 Before442 </option>443 <option444 value="after"445 <?php echo $positionPlaceValue === "after" ? 'selected' : ''?>>446 After447 </option>448 </select>449 <input450 type="text"451 name="custom-gallery-position"452 value="<?php echo !array_key_exists($positionValue, $goodvidioGalleryPositionOptions) ? $positionValue : ''; ?>"/>453 <p class="description">454 Either choose a predefined position for the gallery or455 enter a CSS selector for a DOM element to display456 the Goodvidio gallery. If you need help with this,457 you can contact the customer success team through458 the Goodvidio app.459 </p>460 </td>461 </tr>462 <tr>463 <th scope="row">464 346 <h3>Ecommerce transaction tracking</h3> 465 347 </th> … … 495 377 </form> 496 378 </div> 497 <script>498 jQuery(document).ready(function() {499 jQuery('input[name="custom-gallery-position"]').keyup(function() {500 jQuery('#custom-gallery-position').prop('checked', true).val(jQuery(this).val());501 });502 });503 </script>504 379 <?php 505 380 } … … 508 383 { 509 384 global $goodvidioSettingsGroupName; 510 511 global $goodvidioVideoPositionOptionName;512 register_setting($goodvidioSettingsGroupName, $goodvidioVideoPositionOptionName);513 514 global $goodvidioVideoPositionPlaceOptionName;515 register_setting($goodvidioSettingsGroupName, $goodvidioVideoPositionPlaceOptionName);516 385 517 386 global $goodvidioIntegrationStatusOptionName; -
goodvidio-integration/trunk/readme.txt
r1511691 r1512524 7 7 Requires at least: 3.1 8 8 Tested up to: 4.5.3 9 Stable tag: 1. 09 Stable tag: 1.1 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 82 82 * Initial Version 83 83 84 = 1.1 = 85 * Remove Goodvidio Gallery snippet injection 86 84 87 == Upgrade Notice == 85 88 … … 87 90 * Initial Version 88 91 92 = 1.1 = 93 * Remove Goodvidio Gallery snippet injection 94 89 95 == Arbitrary section ==
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)