parent
813f8b8c2e
commit
0fdf9032ec
|
@ -662,15 +662,6 @@ $woocommerce_settings['catalog'] = apply_filters('woocommerce_catalog_settings',
|
|||
'id' => 'woocommerce_review_rating_verification_label',
|
||||
'default' => 'yes',
|
||||
'type' => 'checkbox',
|
||||
'checkboxgroup' => '',
|
||||
'show_if_checked' => 'yes',
|
||||
),
|
||||
|
||||
array(
|
||||
'desc' => __( 'Display ratings in the product loop', 'woocommerce' ),
|
||||
'id' => 'woocommerce_review_rating_loop',
|
||||
'default' => 'no',
|
||||
'type' => 'checkbox',
|
||||
'checkboxgroup' => 'end',
|
||||
'show_if_checked' => 'yes',
|
||||
),
|
||||
|
|
|
@ -203,7 +203,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
* Templating - CSS namespacing changes (courtesy of Brian Feister).
|
||||
* Templating - My account page broken up into template files (by Brian Richards)
|
||||
* Templating - CSS classes standardised. Instances of '.woocommerce_' & '.wc-' replaced with '.woocommerce-'
|
||||
* Templating - Option to display ratings in loop.
|
||||
* Templating - Ratings added to loop.
|
||||
* Tweak - Sorting uses GET to make it cache friendly
|
||||
* Tweak - Optimised class loading (autoload). Reduced memory consumption.
|
||||
* Tweak - Moved shortcodes and widgets to classes.
|
||||
|
|
|
@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|||
|
||||
global $product;
|
||||
|
||||
if ( get_option( 'woocommerce_enable_review_rating' ) == 'no' || get_option( 'woocommerce_review_rating_loop' ) == 'no' )
|
||||
if ( get_option( 'woocommerce_enable_review_rating' ) == 'no' )
|
||||
return;
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue