Changeset 1702509
- Timestamp:
- 07/25/2017 04:19:05 PM (9 years ago)
- Location:
- woo-product-image-gallery-options/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
woocommerce-product-image-gallery-options.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-product-image-gallery-options/trunk/readme.txt
r1635325 r1702509 3 3 Tags: woocommerce, gallery 4 4 Requires at least: 4.7 5 Tested up to: 4. 7.35 Tested up to: 4.8 6 6 Stable tag: trunk 7 7 License: GPLv2 or later … … 12 12 == Description == 13 13 14 Switch on/off WooCommerce 3.0+ Product Image Gallery options on a per product basis. WooCommerce 3.0+ added a series of new (awesome!) product image gallery options. But right now, these options are activated for all products. This plugin lets you show/hide the new WooCommerce Product Image Gallery options on individual products by adding 3 new check boxes to your Edit Product screen. 14 Switch on/off WooCommerce 3.0+ Product Image Gallery options on a per product basis. 15 (NOTE: Fully tested with WooCommerce 3.0 and 3.1). 16 17 WooCommerce 3.0+ added a series of new (awesome!) product image gallery options. But right now, these options are activated for all products. This plugin lets you show/hide the new WooCommerce Product Image Gallery options on individual products by adding 3 new check boxes to your Edit Product screen. 18 19 Check out this blog post for more info: 20 **[How to disable WooCommerce Product Gallery features](https://createandcode.com/how-to-disable-zoom-lightbox-and-gallery-slider-on-woocommerce-product-pages/)** 21 22 = About Create and Code = 23 24 WooCommerce Product Image Gallery Options is a Create and Code product. Create and Code is a <a href="https://createandcode.com/">WordPress Theme Shop</a> which provides high quality business focused <a href="https://createandcode.com/wordpress-themes/category/free-themes/">free themes</a>. We also provide world class support for your WordPress website via our <a href="https://createandcode.com/wordpress-themes/category/business-themes/">premium business themes</a>. 15 25 16 26 == Installation == -
woo-product-image-gallery-options/trunk/woocommerce-product-image-gallery-options.php
r1635318 r1702509 11 11 * Plugin URI: https://createandcode.com/plugins/woocommerce-product-image-gallery-options 12 12 * Description: Switch on/off WooCommerce 3.0+ Product Image Gallery options on a per product basis. 13 * Version: 1.0. 113 * Version: 1.0.2 14 14 * Author: Create and Code 15 15 * Author URI: https://createandcode.com … … 53 53 /** 54 54 * Notices (array) 55 * 55 56 * @var array 56 57 */ … … 108 109 if ( ! defined( 'WC_VERSION' ) ) { 109 110 return __( 'WooCommerce Product Image Gallery Options requires WooCommerce 3.0+ to be activated to work.', 'woocommerce-product-image-gallery-options' ); 110 } 111 } 111 112 112 113 if ( version_compare( WC_VERSION, WC_PIGO_MIN_WC_VER, '<' ) ) { … … 125 126 foreach ( (array) $this->notices as $notice_key => $notice ) { 126 127 echo "<div class='" . esc_attr( $notice['class'] ) . "'><p>"; 127 echo wp_kses( $notice['message'], array( 'a' => array( 'href' => array() ) ) ); 128 echo "</p></div>"; 128 echo wp_kses( $notice['message'], array( 129 'a' => array( 130 'href' => array(), 131 ), 132 ) ); 133 echo '</p></div>'; 129 134 } 130 135 } … … 136 141 $this->notices[ $slug ] = array( 137 142 'class' => $class, 138 'message' => $message 143 'message' => $message, 139 144 ); 140 145 } … … 173 178 174 179 $WooCommerce_Product_Image_Gallery_Options = new WooCommerce_Product_Image_Gallery_Options(); 175 } 180 }// End if().
Note: See TracChangeset
for help on using the changeset viewer.