Plugin Directory

Changeset 3272826


Ignore:
Timestamp:
04/14/2025 11:41:26 PM (10 months ago)
Author:
signcustomiser
Message:

Release version 1.3.2

Location:
sign-customiser
Files:
11 added
3 edited

Legend:

Unmodified
Added
Removed
  • sign-customiser/trunk/cart.php

    r3267575 r3272826  
    131131  ]);
    132132});
    133 
    134 // Add noindex meta tag for hidden products
    135 if (class_exists('WooCommerce')) {
    136     function add_noindex_for_hidden_products() {
    137         if (is_product()) { // Only run on single product pages
    138             $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  
    33Tested up to: 6.6.1
    44Requires at least: 6.5
    5 Stable tag: 1.3.0
     5Stable tag: 1.3.2
    66Requires PHP: 7.4
    77License: GPLv2 or later
     
    6363== Changelog ==
    6464
     65= 1.3.2 =
     66* Added support for WordPress subdirectory installations
     67
    6568= 1.3.1 =
    6669* 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  
    44Plugin Name: Sign Customiser
    55Plugin URI: https://signcustomiser.com
    6 Version: 1.3.0
     6Version: 1.3.2
    77Requires Plugins: woocommerce
    88License: GPL v2 or later
     
    2323
    2424require_once 'config.php';
     25require_once 'bootstrap.php';
    2526require_once 'api.php';
    2627require_once 'cart.php';
Note: See TracChangeset for help on using the changeset viewer.