Changeset 3272826
- Timestamp:
- 04/14/2025 11:41:26 PM (10 months ago)
- Location:
- sign-customiser
- Files:
-
- 11 added
- 3 edited
-
tags/1.3.2 (added)
-
tags/1.3.2/.gitignore (added)
-
tags/1.3.2/api.php (added)
-
tags/1.3.2/bootstrap.php (added)
-
tags/1.3.2/cart.php (added)
-
tags/1.3.2/config.php (added)
-
tags/1.3.2/orders.php (added)
-
tags/1.3.2/readme.txt (added)
-
tags/1.3.2/settings.php (added)
-
tags/1.3.2/sign-customiser.php (added)
-
trunk/bootstrap.php (added)
-
trunk/cart.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/sign-customiser.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sign-customiser/trunk/cart.php
r3267575 r3272826 131 131 ]); 132 132 }); 133 134 // Add noindex meta tag for hidden products135 if (class_exists('WooCommerce')) {136 function add_noindex_for_hidden_products() {137 if (is_product()) { // Only run on single product pages138 $product = wc_get_product(get_the_ID());139 if ($product && $product->get_meta('_hide_from_search_engines') === '1') {140 echo '<meta name="robots" content="noindex, nofollow">';141 }142 }143 }144 add_action('wp_head', 'add_noindex_for_hidden_products');145 } -
sign-customiser/trunk/readme.txt
r3267575 r3272826 3 3 Tested up to: 6.6.1 4 4 Requires at least: 6.5 5 Stable tag: 1.3. 05 Stable tag: 1.3.2 6 6 Requires PHP: 7.4 7 7 License: GPLv2 or later … … 63 63 == Changelog == 64 64 65 = 1.3.2 = 66 * Added support for WordPress subdirectory installations 67 65 68 = 1.3.1 = 66 69 * Ensure products generated by Sign Customiser in woocommerce are hidden in product catalogue and product page is set to noindex for search engines -
sign-customiser/trunk/sign-customiser.php
r3267575 r3272826 4 4 Plugin Name: Sign Customiser 5 5 Plugin URI: https://signcustomiser.com 6 Version: 1.3. 06 Version: 1.3.2 7 7 Requires Plugins: woocommerce 8 8 License: GPL v2 or later … … 23 23 24 24 require_once 'config.php'; 25 require_once 'bootstrap.php'; 25 26 require_once 'api.php'; 26 27 require_once 'cart.php';
Note: See TracChangeset
for help on using the changeset viewer.