h3 in loop, renamed widgets

This commit is contained in:
Mike Jolley 2011-08-10 18:30:58 +01:00
parent fabb9eec68
commit b4d2023f54
9 changed files with 9 additions and 9 deletions

View File

@ -24,7 +24,7 @@ if (have_posts()) : while (have_posts()) : the_post(); $_product = &new woocomme
<?php do_action('woocommerce_before_shop_loop_item_title', $post, $_product); ?> <?php do_action('woocommerce_before_shop_loop_item_title', $post, $_product); ?>
<strong><?php the_title(); ?></strong> <h3><?php the_title(); ?></h3>
<?php do_action('woocommerce_after_shop_loop_item_title', $post, $_product); ?> <?php do_action('woocommerce_after_shop_loop_item_title', $post, $_product); ?>

View File

@ -13,7 +13,7 @@ class WooCommerce_Widget_Cart extends WP_Widget {
/** constructor */ /** constructor */
function WooCommerce_Widget_Cart() { function WooCommerce_Widget_Cart() {
$widget_ops = array( 'description' => __( "Shopping Cart for the sidebar.", 'woothemes') ); $widget_ops = array( 'description' => __( "Shopping Cart for the sidebar.", 'woothemes') );
parent::WP_Widget('shopping_cart', __('Shopping Cart', 'woothemes'), $widget_ops); parent::WP_Widget('shopping_cart', __('WooCommerce Shopping Cart', 'woothemes'), $widget_ops);
} }
/** @see WP_Widget::widget */ /** @see WP_Widget::widget */

View File

@ -13,7 +13,7 @@ class WooCommerce_Widget_Featured_Products extends WP_Widget {
/** constructor */ /** constructor */
function WooCommerce_Widget_Featured_Products() { function WooCommerce_Widget_Featured_Products() {
$widget_ops = array('classname' => 'widget_featured_products', 'description' => __( "Featured products on your site", 'woothemes') ); $widget_ops = array('classname' => 'widget_featured_products', 'description' => __( "Featured products on your site", 'woothemes') );
parent::WP_Widget('featured-products', __('Featured Products', 'woothemes'), $widget_ops); parent::WP_Widget('featured-products', __('WooCommerce Featured Products', 'woothemes'), $widget_ops);
$this->alt_option_name = 'widget_featured_products'; $this->alt_option_name = 'widget_featured_products';
add_action( 'save_post', array(&$this, 'flush_widget_cache') ); add_action( 'save_post', array(&$this, 'flush_widget_cache') );

View File

@ -11,7 +11,7 @@ class WooCommerce_Widget_Layered_Nav extends WP_Widget {
/** constructor */ /** constructor */
function WooCommerce_Widget_Layered_Nav() { function WooCommerce_Widget_Layered_Nav() {
$widget_ops = array( 'description' => __( "Shows a custom attribute in a widget which lets you narrow down the list of shown products in categories.", 'woothemes') ); $widget_ops = array( 'description' => __( "Shows a custom attribute in a widget which lets you narrow down the list of shown products in categories.", 'woothemes') );
parent::WP_Widget('layered_nav', __('Layered Nav', 'woothemes'), $widget_ops); parent::WP_Widget('layered_nav', __('WooCommerce Layered Nav', 'woothemes'), $widget_ops);
} }
/** @see WP_Widget::widget */ /** @see WP_Widget::widget */

View File

@ -33,7 +33,7 @@ class WooCommerce_Widget_Price_Filter extends WP_Widget {
/** constructor */ /** constructor */
function WooCommerce_Widget_Price_Filter() { function WooCommerce_Widget_Price_Filter() {
$widget_ops = array( 'description' => __( "Shows a price filter slider in a widget which lets you narrow down the list of shown products in categories.", 'woothemes') ); $widget_ops = array( 'description' => __( "Shows a price filter slider in a widget which lets you narrow down the list of shown products in categories.", 'woothemes') );
parent::WP_Widget('price_filter', __('Price Filter', 'woothemes'), $widget_ops); parent::WP_Widget('price_filter', __('WooCommerce Price Filter', 'woothemes'), $widget_ops);
} }
/** @see WP_Widget::widget */ /** @see WP_Widget::widget */

View File

@ -12,7 +12,7 @@ class WooCommerce_Widget_Product_Categories extends WP_Widget {
/** constructor */ /** constructor */
function WooCommerce_Widget_Product_Categories() { function WooCommerce_Widget_Product_Categories() {
$widget_ops = array( 'classname' => 'widget_product_categories', 'description' => __( "A list or dropdown of product categories", 'woothemes' ) ); $widget_ops = array( 'classname' => 'widget_product_categories', 'description' => __( "A list or dropdown of product categories", 'woothemes' ) );
parent::WP_Widget('product_categories', __('Product Categories', 'woothemes'), $widget_ops); parent::WP_Widget('product_categories', __('WooCommerce Product Categories', 'woothemes'), $widget_ops);
} }
/** @see WP_Widget::widget */ /** @see WP_Widget::widget */

View File

@ -12,7 +12,7 @@ class WooCommerce_Widget_Product_Search extends WP_Widget {
/** constructor */ /** constructor */
function WooCommerce_Widget_Product_Search() { function WooCommerce_Widget_Product_Search() {
$widget_ops = array( 'description' => __( "Search box for products only.", 'woothemes') ); $widget_ops = array( 'description' => __( "Search box for products only.", 'woothemes') );
parent::WP_Widget('product_search', __('Product Search', 'woothemes'), $widget_ops); parent::WP_Widget('product_search', __('WooCommerce Product Search', 'woothemes'), $widget_ops);
} }
/** @see WP_Widget::widget */ /** @see WP_Widget::widget */

View File

@ -12,7 +12,7 @@ class WooCommerce_Widget_Tag_Cloud extends WP_Widget {
/** constructor */ /** constructor */
function WooCommerce_Widget_Tag_Cloud() { function WooCommerce_Widget_Tag_Cloud() {
$widget_ops = array( 'description' => __( "Your most used product tags in cloud format", 'woothemes') ); $widget_ops = array( 'description' => __( "Your most used product tags in cloud format", 'woothemes') );
parent::WP_Widget('tag_cloud', __('Product Tag Cloud', 'woothemes'), $widget_ops); parent::WP_Widget('tag_cloud', __('WooCommerce Product Tag Cloud', 'woothemes'), $widget_ops);
} }
/** @see WP_Widget::widget */ /** @see WP_Widget::widget */

View File

@ -12,7 +12,7 @@ class WooCommerce_Widget_Recent_Products extends WP_Widget {
/** constructor */ /** constructor */
function WooCommerce_Widget_Recent_Products() { function WooCommerce_Widget_Recent_Products() {
$widget_ops = array('classname' => 'widget_recent_entries', 'description' => __( "The most recent products on your site", 'woothemes') ); $widget_ops = array('classname' => 'widget_recent_entries', 'description' => __( "The most recent products on your site", 'woothemes') );
parent::WP_Widget('recent-products', __('New Products', 'woothemes'), $widget_ops); parent::WP_Widget('recent-products', __('WooCommerce New Products', 'woothemes'), $widget_ops);
$this->alt_option_name = 'widget_recent_entries'; $this->alt_option_name = 'widget_recent_entries';
add_action( 'save_post', array(&$this, 'flush_widget_cache') ); add_action( 'save_post', array(&$this, 'flush_widget_cache') );