From 6a7e2321c3e170e46a3ddba539e9e5c7cb43dcb1 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 12 Sep 2014 17:30:31 +0200 Subject: [PATCH] Fixed wrong url and typo in readme.txt --- .../assets/css/payment-methods.css | 6 ++++-- .../payment-methods.php | 17 +++++++++-------- woocommerce-payment-methods/readme.txt | 18 +++++++++++------- 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/woocommerce-payment-methods/assets/css/payment-methods.css b/woocommerce-payment-methods/assets/css/payment-methods.css index 17361c6..ba6c3c2 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-08 + * @version 2014-09-10 * * @author Poellmann Alexander Manfred * @copyright Copyright 2014 vendocrat. All Rights Reserved. @@ -36,7 +36,9 @@ border:1px solid #333;} .payment-methods-inverse > li > b, - .payment-methods-inverse > li > i { + .payment-methods-inverse > li > i, + .payment-methods-i > li > b, + .payment-methods-i > 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 cf5cd4f..d122114 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.0 + * Version: 0.1.1 * Author: vendocrat * Author URI: http://vendocr.at/ * License: GNU General Public License v3.0 @@ -128,16 +128,17 @@ class vendocrat_Woo_Payment_Methods { * Woo Accepted Payment Methods * * @since 2014-09-07 - * @version 2014-09-08 + * @version 2014-09-10 **************************************************/ 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, 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 + '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 ), $atts ) ); @@ -183,7 +184,7 @@ class vendocrat_Woo_Payment_Methods { $icon = 'GitHub. Translations included: -* English -* German -* Italian + +* English +* German +* Italian == Installation == -1. Upload 'woocommerce-accepted-payment-methods' to the '/wp-content/plugins/' directory +1. Upload 'woocommerce-payment-methods' to the '/wp-content/plugins/' directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Display your accepted methods via: Shortcode [v_woo_payment_methods], Widget or template tag '. 4. Done! @@ -50,4 +51,7 @@ Note: As we're using a webfont called