From 8e4e4f6c193fe430acbaa3ae87c416fbb2dd8734 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 12 Sep 2014 18:16:59 +0200 Subject: [PATCH] Reverted versioning, various updates. Fixed wrong url and typo in readme, updated shortcode and screenshots. --- .../assets/css/payment-methods.css | 6 ++---- woocommerce-payment-methods/payment-methods.php | 17 ++++++++--------- woocommerce-payment-methods/readme.txt | 7 ++----- 3 files changed, 12 insertions(+), 18 deletions(-) diff --git a/woocommerce-payment-methods/assets/css/payment-methods.css b/woocommerce-payment-methods/assets/css/payment-methods.css index ba6c3c2..17361c6 100644 --- a/woocommerce-payment-methods/assets/css/payment-methods.css +++ b/woocommerce-payment-methods/assets/css/payment-methods.css @@ -5,7 +5,7 @@ * @subpackage Payment Methods/Assets * * @since 2014-09-08 - * @version 2014-09-10 + * @version 2014-09-08 * * @author Poellmann Alexander Manfred * @copyright Copyright 2014 vendocrat. All Rights Reserved. @@ -36,9 +36,7 @@ border:1px solid #333;} .payment-methods-inverse > li > b, - .payment-methods-inverse > li > i, - .payment-methods-i > li > b, - .payment-methods-i > li > i { + .payment-methods-inverse > li > i { color:#333; background:#fff; border-color:#fff;} diff --git a/woocommerce-payment-methods/payment-methods.php b/woocommerce-payment-methods/payment-methods.php index 14f16d9..4bb24ce 100644 --- a/woocommerce-payment-methods/payment-methods.php +++ b/woocommerce-payment-methods/payment-methods.php @@ -1,9 +1,9 @@ Easily display your accepted payment methods from WooCommerce. Handcrafted with ♥ by vendocrat in Vienna. - * Version: 0.1.2 + * Version: 0.1.1 * Author: vendocrat * Author URI: http://vendocr.at/ * License: GNU General Public License v3.0 @@ -128,17 +128,16 @@ class vendocrat_Woo_Payment_Methods { * Woo Accepted Payment Methods * * @since 2014-09-07 - * @version 2014-09-12 + * @version 2014-09-08 **************************************************/ function get_payment_methods( $atts = array(), $content = null ) { extract( shortcode_atts( array( - 'methods' => array(), // keys are the gateway slugs (lowercase) for the icon class, values are the title attributes - 'style' => 'default', // default, i/inverse, o/outline - 'tooltip' => false, // adds data attributes to icon to be used for diplaying tooltips (made for Bootstrap) - 'placement' => 'bottom', // specify tooltip placement (top, right, bottom, left) - 'xclass' => false, // add any extra classes, seperated by a space + 'methods' => array(), // keys are the gateway slugs (lowercase) for the icon class, values are the title attributes + 'style' => 'default', // default, inverse, o/outline + 'tooltip' => false, // adds data attributes to icon to be used for diplaying tooltips (made for Bootstrap) + 'xclass' => false, // add any extra classes, seperated by a space ), $atts ) ); @@ -184,7 +183,7 @@ class vendocrat_Woo_Payment_Methods { $icon = '. 4. Done! @@ -54,7 +54,4 @@ Note: As we're using a webfont called