Fixed wrong url and typo in readme.txt

This commit is contained in:
Alexander
2014-09-12 17:30:31 +02:00
parent b0e9b12a9e
commit 6a7e2321c3
3 changed files with 24 additions and 17 deletions
@@ -5,7 +5,7 @@
* @subpackage Payment Methods/Assets
*
* @since 2014-09-08
* @version 2014-09-08
* @version 2014-09-10
*
* @author Poellmann Alexander Manfred <alex@vendocr.at>
* @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;}
@@ -1,9 +1,9 @@
<?php
/**
/* Plugin Name: WooCommerce Payment Methods (by vendocrat)
* Plugin Name: WooCommerce Payment Methods (by vendocrat)
* Plugin URI: http://vendocr.at/
* Description: <strong>Easily display your accepted payment methods from WooCommerce.</strong> Handcrafted with &hearts; by <a href='http://vendocr.at/'>vendocrat</a> 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 = '<i';
$icon.= ($class) ? ' class="'. esc_attr( trim($class) ) .'"' : '';
$icon.= ($title) ? ' title="'. esc_attr( trim($title) ) .'"' : '';
$icon.= ($tooltip) ? ' data-toggle="tooltip" data-placement="bottom"' : '';
$icon.= ($tooltip) ? ' data-toggle="tooltip" data-placement="'. $placement .'"' : '';
$icon.= '></i>';
break;
}
+11 -7
View File
@@ -1,10 +1,10 @@
=== WooCommerce Payment Methods ===
Contributors: vendocrat, AlexanderPoellmann
Donate link: http://example.com/
Donate link: http://vendocr.at/donate/
Tags: woocommerce, credit card, logo, payment
Requires at least: 3.5
Tested up to: 4.1
Stable tag: 0.1.0
Stable tag: 0.1.1
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -23,13 +23,14 @@ All icons are displayed using the truly awesome icon font <a href="https://githu
Contributions are warmly welcome via <a href="https://github.com/vendocrat/WooComerce-Payment-Methods"><strong>GitHub</strong></a>.
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 '<?php v_woo_payment_methods(); ?>.
4. Done!
@@ -50,4 +51,7 @@ Note: As we're using a webfont called <a href="https://github.com/orlandotm/paym
== Changelog ==
= 0.1.0 =
Initial release.
Initial release.
= 0.1.1 =
Fixed wrong url and typo in readme.txt