mirror of
https://github.com/10h30/WooCommerce-Payment-Methods.git
synced 2026-06-05 15:07:59 +09:00
Update to 0.2.0
See readme.txt for more.
This commit is contained in:
@@ -5,13 +5,15 @@
|
||||
* @subpackage Payment Methods/Assets
|
||||
*
|
||||
* @since 2014-09-08
|
||||
* @version 2014-09-08
|
||||
* @version 2014-09-21
|
||||
*
|
||||
* @author Poellmann Alexander Manfred <alex@vendocr.at>
|
||||
* @copyright Copyright 2014 vendocrat. All Rights Reserved.
|
||||
* @link http://vendocr.at/
|
||||
*/
|
||||
|
||||
/**** Base Styles */
|
||||
|
||||
.payment-methods {
|
||||
padding-left:0;
|
||||
list-style:none;
|
||||
@@ -23,7 +25,6 @@
|
||||
|
||||
vertical-align:top;}
|
||||
|
||||
.payment-methods > li > b,
|
||||
.payment-methods > li > i {
|
||||
display:block !important;
|
||||
cursor:default;
|
||||
@@ -31,34 +32,29 @@
|
||||
|
||||
border-radius:4px;
|
||||
|
||||
background:transparent;
|
||||
border:1px solid transparent;}
|
||||
|
||||
.payment-methods-inverse > li > i,
|
||||
.payment-methods-i > li > i {
|
||||
color:#fff;
|
||||
background:#333;
|
||||
border:1px solid #333;}
|
||||
border-color:#333;}
|
||||
|
||||
.payment-methods-inverse > li > b,
|
||||
.payment-methods-inverse > li > i {
|
||||
color:#333;
|
||||
background:#fff;
|
||||
border-color:#fff;}
|
||||
|
||||
.payment-methods-outline > li > b,
|
||||
.payment-methods-outline > li > i,
|
||||
.payment-methods-o > li > b,
|
||||
.payment-methods-o > li > i {
|
||||
color:#333;
|
||||
background:none;}
|
||||
|
||||
.payment-methods > li > b {
|
||||
padding-left:8px;
|
||||
padding-right:8px;
|
||||
|
||||
font-size:0.9em;font-weight:300;
|
||||
line-height:1.6;}
|
||||
border-color:#777;}
|
||||
|
||||
.payment-methods > li > i {
|
||||
font-size:1.5em;
|
||||
line-height:1;}
|
||||
|
||||
/**** Widget */
|
||||
.widget_vendocrat_payment_methods {}
|
||||
|
||||
.widget_vendocrat_payment_methods ul {
|
||||
margin-bottom:0;}
|
||||
|
||||
/*
|
||||
* NO MORE LOVE TO GIVE
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,256 @@
|
||||
/**
|
||||
* PaymentFont Styles 0.0.9
|
||||
*
|
||||
* @since 2014-09-21
|
||||
* @version 2014-09-21
|
||||
*
|
||||
* @author Poellmann Alexander Manfred <alex@vendocr.at>
|
||||
* @copyright Copyright 2014 vendocrat. All Rights Reserved.
|
||||
* @link http://vendocr.at/
|
||||
*
|
||||
* @license http://paymentfont.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||
*/
|
||||
@font-face {
|
||||
font-family:'PaymentFont';
|
||||
src:url('../fonts/paymentfont-webfont.eot');
|
||||
src:url('../fonts/paymentfont-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('../fonts/paymentfont-webfont.woff') format('woff'),
|
||||
url('../fonts/paymentfont-webfont.ttf') format('truetype'),
|
||||
url('../fonts/paymentfont-webfont.svg#paymentfont-webfont') format('svg');
|
||||
font-weight:normal;
|
||||
font-style:normal;}
|
||||
|
||||
.pf {
|
||||
display:inline-block;
|
||||
font:normal normal normal 14px/1 PaymentFont;
|
||||
font-size:inherit;
|
||||
text-rendering:auto;
|
||||
-webkit-font-smoothing:antialiased;
|
||||
-moz-osx-font-smoothing:grayscale;}
|
||||
|
||||
.pf-amazon:before {
|
||||
content: "\f000";
|
||||
}
|
||||
.pf-american-express:before {
|
||||
content: "\f001";
|
||||
}
|
||||
.pf-american-express-alt:before {
|
||||
content: "\f002";
|
||||
}
|
||||
.pf-atm:before {
|
||||
content: "\f003";
|
||||
}
|
||||
.pf-bankomat:before {
|
||||
content: "\f004";
|
||||
}
|
||||
.pf-bank-transfer:before {
|
||||
content: "\f005";
|
||||
}
|
||||
.pf-bitcoin:before {
|
||||
content: "\f006";
|
||||
}
|
||||
.pf-bitcoin-sign:before {
|
||||
content: "\f007";
|
||||
}
|
||||
.pf-braintree:before {
|
||||
content: "\f008";
|
||||
}
|
||||
.pf-btc:before {
|
||||
content: "\f009";
|
||||
}
|
||||
.pf-card:before {
|
||||
content: "\f00a";
|
||||
}
|
||||
.pf-carta-si:before {
|
||||
content: "\f00b";
|
||||
}
|
||||
.pf-cash:before {
|
||||
content: "\f00c";
|
||||
}
|
||||
.pf-cash-on-delivery:before {
|
||||
content: "\f00d";
|
||||
}
|
||||
.pf-cb:before {
|
||||
content: "\f00e";
|
||||
}
|
||||
.pf-cirrus:before {
|
||||
content: "\f00f";
|
||||
}
|
||||
.pf-cirrus-alt:before {
|
||||
content: "\f010";
|
||||
}
|
||||
.pf-clickandbuy:before {
|
||||
content: "\f011";
|
||||
}
|
||||
.pf-credit-card:before {
|
||||
content: "\f012";
|
||||
}
|
||||
.pf-diners:before {
|
||||
content: "\f013";
|
||||
}
|
||||
.pf-discover:before {
|
||||
content: "\f014";
|
||||
}
|
||||
.pf-ec:before {
|
||||
content: "\f015";
|
||||
}
|
||||
.pf-eps:before {
|
||||
content: "\f016";
|
||||
}
|
||||
.pf-eur:before {
|
||||
content: "\f017";
|
||||
}
|
||||
.pf-facture:before {
|
||||
content: "\f018";
|
||||
}
|
||||
.pf-fattura:before {
|
||||
content: "\f019";
|
||||
}
|
||||
.pf-flattr:before {
|
||||
content: "\f01a";
|
||||
}
|
||||
.pf-giropay:before {
|
||||
content: "\f01b";
|
||||
}
|
||||
.pf-gittip:before {
|
||||
content: "\f01c";
|
||||
}
|
||||
.pf-google-wallet:before {
|
||||
content: "\f01d";
|
||||
}
|
||||
.pf-google-wallet-alt:before {
|
||||
content: "\f01e";
|
||||
}
|
||||
.pf-gpb:before {
|
||||
content: "\f01f";
|
||||
}
|
||||
.pf-ideal:before {
|
||||
content: "\f020";
|
||||
}
|
||||
.pf-ils:before {
|
||||
content: "\f021";
|
||||
}
|
||||
.pf-inr:before {
|
||||
content: "\f022";
|
||||
}
|
||||
.pf-invoice:before {
|
||||
content: "\f023";
|
||||
}
|
||||
.pf-invoice-sign:before {
|
||||
content: "\f024";
|
||||
}
|
||||
.pf-invoice-sign-alt:before {
|
||||
content: "\f025";
|
||||
}
|
||||
.pf-invoice-sign-alt-o:before {
|
||||
content: "\f026";
|
||||
}
|
||||
.pf-invoice-sign-o:before {
|
||||
content: "\f027";
|
||||
}
|
||||
.pf-jcb:before {
|
||||
content: "\f028";
|
||||
}
|
||||
.pf-jpy:before {
|
||||
content: "\f029";
|
||||
}
|
||||
.pf-krw:before {
|
||||
content: "\f02a";
|
||||
}
|
||||
.pf-maestro:before {
|
||||
content: "\f02b";
|
||||
}
|
||||
.pf-maestro-alt:before {
|
||||
content: "\f02c";
|
||||
}
|
||||
.pf-mastercard:before {
|
||||
content: "\f02d";
|
||||
}
|
||||
.pf-mastercard-alt:before {
|
||||
content: "\f02e";
|
||||
}
|
||||
.pf-mastercard-securecode:before {
|
||||
content: "\f02f";
|
||||
}
|
||||
.pf-ogone:before {
|
||||
content: "\f030";
|
||||
}
|
||||
.pf-paybox:before {
|
||||
content: "\f031";
|
||||
}
|
||||
.pf-paylife:before {
|
||||
content: "\f032";
|
||||
}
|
||||
.pf-paypal:before {
|
||||
content: "\f033";
|
||||
}
|
||||
.pf-paypal-alt:before {
|
||||
content: "\f034";
|
||||
}
|
||||
.pf-paysafecard:before {
|
||||
content: "\f035";
|
||||
}
|
||||
.pf-postepay:before {
|
||||
content: "\f036";
|
||||
}
|
||||
.pf-quick:before {
|
||||
content: "\f037";
|
||||
}
|
||||
.pf-rechnung:before {
|
||||
content: "\f038";
|
||||
}
|
||||
.pf-ripple:before {
|
||||
content: "\f039";
|
||||
}
|
||||
.pf-rub:before {
|
||||
content: "\f03a";
|
||||
}
|
||||
.pf-skrill:before {
|
||||
content: "\f03b";
|
||||
}
|
||||
.pf-sofort:before {
|
||||
content: "\f03c";
|
||||
}
|
||||
.pf-square:before {
|
||||
content: "\f03d";
|
||||
}
|
||||
.pf-stripe:before {
|
||||
content: "\f03e";
|
||||
}
|
||||
.pf-truste:before {
|
||||
content: "\f03f";
|
||||
}
|
||||
.pf-try:before {
|
||||
content: "\f040";
|
||||
}
|
||||
.pf-unionpay:before {
|
||||
content: "\f041";
|
||||
}
|
||||
.pf-usd:before {
|
||||
content: "\f042";
|
||||
}
|
||||
.pf-verified-by-visa:before {
|
||||
content: "\f043";
|
||||
}
|
||||
.pf-verisign:before {
|
||||
content: "\f044";
|
||||
}
|
||||
.pf-visa:before {
|
||||
content: "\f045";
|
||||
}
|
||||
.pf-visa-electron:before {
|
||||
content: "\f046";
|
||||
}
|
||||
.pf-western-union:before {
|
||||
content: "\f047";
|
||||
}
|
||||
.pf-western-union-alt:before {
|
||||
content: "\f048";
|
||||
}
|
||||
.pf-wirecard:before {
|
||||
content: "\f049";
|
||||
}
|
||||
|
||||
/*
|
||||
* NO MORE LOVE TO GIVE
|
||||
*/
|
||||
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* PaymentFont Styles 0.0.9 by @vendocrat/@AMPoellmann
|
||||
* http://paymentfont.io and @paymentfont
|
||||
* License http://paymentfont.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||
*/
|
||||
@font-face{font-family:PaymentFont;src:url(../fonts/paymentfont-webfont.eot);src:url(../fonts/paymentfont-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/paymentfont-webfont.woff) format('woff'),url(../fonts/paymentfont-webfont.ttf) format('truetype'),url(../fonts/paymentfont-webfont.svg#paymentfont-webfont) format('svg');font-weight:400;font-style:normal}.pf{display:inline-block;font:normal normal normal 14px/1 PaymentFont;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pf-amazon:before{content:"\f000"}.pf-american-express:before{content:"\f001"}.pf-american-express-alt:before{content:"\f002"}.pf-atm:before{content:"\f003"}.pf-bankomat:before{content:"\f004"}.pf-bank-transfer:before{content:"\f005"}.pf-bitcoin:before{content:"\f006"}.pf-bitcoin-sign:before{content:"\f007"}.pf-braintree:before{content:"\f008"}.pf-btc:before{content:"\f009"}.pf-card:before{content:"\f00a"}.pf-carta-si:before{content:"\f00b"}.pf-cash:before{content:"\f00c"}.pf-cash-on-delivery:before{content:"\f00d"}.pf-cb:before{content:"\f00e"}.pf-cirrus:before{content:"\f00f"}.pf-cirrus-alt:before{content:"\f010"}.pf-clickandbuy:before{content:"\f011"}.pf-credit-card:before{content:"\f012"}.pf-diners:before{content:"\f013"}.pf-discover:before{content:"\f014"}.pf-ec:before{content:"\f015"}.pf-eps:before{content:"\f016"}.pf-eur:before{content:"\f017"}.pf-facture:before{content:"\f018"}.pf-fattura:before{content:"\f019"}.pf-flattr:before{content:"\f01a"}.pf-giropay:before{content:"\f01b"}.pf-gittip:before{content:"\f01c"}.pf-google-wallet:before{content:"\f01d"}.pf-google-wallet-alt:before{content:"\f01e"}.pf-gpb:before{content:"\f01f"}.pf-ideal:before{content:"\f020"}.pf-ils:before{content:"\f021"}.pf-inr:before{content:"\f022"}.pf-invoice:before{content:"\f023"}.pf-invoice-sign:before{content:"\f024"}.pf-invoice-sign-alt:before{content:"\f025"}.pf-invoice-sign-alt-o:before{content:"\f026"}.pf-invoice-sign-o:before{content:"\f027"}.pf-jcb:before{content:"\f028"}.pf-jpy:before{content:"\f029"}.pf-krw:before{content:"\f02a"}.pf-maestro:before{content:"\f02b"}.pf-maestro-alt:before{content:"\f02c"}.pf-mastercard:before{content:"\f02d"}.pf-mastercard-alt:before{content:"\f02e"}.pf-mastercard-securecode:before{content:"\f02f"}.pf-ogone:before{content:"\f030"}.pf-paybox:before{content:"\f031"}.pf-paylife:before{content:"\f032"}.pf-paypal:before{content:"\f033"}.pf-paypal-alt:before{content:"\f034"}.pf-paysafecard:before{content:"\f035"}.pf-postepay:before{content:"\f036"}.pf-quick:before{content:"\f037"}.pf-rechnung:before{content:"\f038"}.pf-ripple:before{content:"\f039"}.pf-rub:before{content:"\f03a"}.pf-skrill:before{content:"\f03b"}.pf-sofort:before{content:"\f03c"}.pf-square:before{content:"\f03d"}.pf-stripe:before{content:"\f03e"}.pf-truste:before{content:"\f03f"}.pf-try:before{content:"\f040"}.pf-unionpay:before{content:"\f041"}.pf-usd:before{content:"\f042"}.pf-verified-by-visa:before{content:"\f043"}.pf-verisign:before{content:"\f044"}.pf-visa:before{content:"\f045"}.pf-visa-electron:before{content:"\f046"}.pf-western-union:before{content:"\f047"}.pf-western-union-alt:before{content:"\f048"}.pf-wirecard:before{content:"\f049"}
|
||||
/*
|
||||
* NO MORE LOVE TO GIVE
|
||||
*/
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 357 KiB |
Binary file not shown.
Binary file not shown.
@@ -6,7 +6,7 @@
|
||||
* @subpackage Payment Methods/Classes
|
||||
*
|
||||
* @since 2014-09-08
|
||||
* @version 2014-09-15
|
||||
* @version 2014-09-22
|
||||
*
|
||||
* @author Poellmann Alexander Manfred <alex@vendocr.at>
|
||||
* @copyright Copyright 2014 vendocrat. All Rights Reserved.
|
||||
@@ -29,10 +29,10 @@ class vendocrat_Widget_Payment_Methods extends WP_Widget {
|
||||
* @version 2014-09-08
|
||||
**************************************************/
|
||||
function __construct() {
|
||||
$this->slug = 'vendocrat_widget_payment_methods';
|
||||
$this->name = __( 'Payment Methods', 'vendocrat-payment-methods' );
|
||||
$this->desc = __( 'Easily display your accepted payment methods', 'vendocrat-payment-methods' );
|
||||
$this->title = __( 'Accepted Payment Methods', 'vendocrat-payment-methods' );
|
||||
$this->slug = 'vendocrat_payment_methods';
|
||||
$this->name = __( 'Payment Methods', 'payment-methods' );
|
||||
$this->desc = __( 'Easily display your accepted payment methods', 'payment-methods' );
|
||||
$this->title = __( 'Accepted Payment Methods', 'payment-methods' );
|
||||
|
||||
parent::__construct(
|
||||
$this->slug,
|
||||
@@ -56,6 +56,7 @@ class vendocrat_Widget_Payment_Methods extends WP_Widget {
|
||||
public function widget( $args, $instance ) {
|
||||
$title = apply_filters( 'widget_title', $instance['title'] );
|
||||
|
||||
$methods = $instance['methods'];
|
||||
$style = $instance['style'];
|
||||
$tooltip = ($instance['tooltip'] != 'true') ? false : true;
|
||||
$placement = $instance['placement'];
|
||||
@@ -72,9 +73,11 @@ class vendocrat_Widget_Payment_Methods extends WP_Widget {
|
||||
global $vendocrat_woo_payment_methods;
|
||||
|
||||
$atts = array(
|
||||
'style' => $style,
|
||||
'tooltip' => $tooltip,
|
||||
'xclass' => $xclass,
|
||||
'methods' => $methods,
|
||||
'style' => $style,
|
||||
'tooltip' => $tooltip,
|
||||
'placement' => $placement,
|
||||
'xclass' => $xclass,
|
||||
);
|
||||
echo $vendocrat_woo_payment_methods->get_payment_methods( $atts );
|
||||
|
||||
@@ -91,43 +94,45 @@ class vendocrat_Widget_Payment_Methods extends WP_Widget {
|
||||
**************************************************/
|
||||
public function form( $instance ) {
|
||||
$defaults = array(
|
||||
'title' => $this->title,
|
||||
'style' => 'default',
|
||||
'tooltip' => 'false',
|
||||
'xclass' => '',
|
||||
'title' => $this->title,
|
||||
'methods' => '',
|
||||
'style' => 'default',
|
||||
'tooltip' => 'false',
|
||||
'placement' => 'bottom',
|
||||
'xclass' => '',
|
||||
);
|
||||
$instance = wp_parse_args( (array) $instance, $defaults );
|
||||
?>
|
||||
<p>
|
||||
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e( 'Title', 'vendocrat-payment-methods' ); ?>:</label>
|
||||
<label for="<?php echo $this->get_field_id('title'); ?>"><?php _e( 'Title', 'payment-methods' ); ?>:</label>
|
||||
<input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="<?php echo $this->get_field_id( 'style' ); ?>"><?php _e( 'Style', 'vendocrat-payment-methods' ); ?>:</label>
|
||||
<label for="<?php echo $this->get_field_id( 'style' ); ?>"><?php _e( 'Style', 'payment-methods' ); ?>:</label>
|
||||
<select name="<?php echo $this->get_field_name( 'style' ); ?>" class="widefat" id="<?php echo $this->get_field_id( 'style' ); ?>">
|
||||
<option value="default"<?php selected( $instance['style'], 'default' ); ?>><?php _e( 'Default', 'vendocrat-payment-methods' ); ?></option>
|
||||
<option value="inverse"<?php selected( $instance['style'], 'inverse' ); ?>><?php _e( 'Inverse', 'vendocrat-payment-methods' ); ?></option>
|
||||
<option value="o"<?php selected( $instance['style'], 'o' ); ?>><?php _e( 'Outline', 'vendocrat-payment-methods' ); ?></option>
|
||||
<option value="default"<?php selected( $instance['style'], 'default' ); ?>><?php _e( 'Default', 'payment-methods' ); ?></option>
|
||||
<option value="inverse"<?php selected( $instance['style'], 'inverse' ); ?>><?php _e( 'Inverse', 'payment-methods' ); ?></option>
|
||||
<option value="o"<?php selected( $instance['style'], 'o' ); ?>><?php _e( 'Outline', 'payment-methods' ); ?></option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<label for="<?php echo $this->get_field_id( 'tooltip' ); ?>"><?php _e( 'Add Tooltip markup?', 'vendocrat-payment-methods' ); ?></label>
|
||||
<label for="<?php echo $this->get_field_id( 'tooltip' ); ?>"><?php _e( 'Add Tooltip markup?', 'payment-methods' ); ?></label>
|
||||
<select name="<?php echo $this->get_field_name( 'tooltip' ); ?>" class="widefat" id="<?php echo $this->get_field_id( 'tooltip' ); ?>">
|
||||
<option value="false"<?php selected( $instance['tooltip'], 'false' ); ?>><?php _e( 'No', 'vendocrat-payment-methods' ); ?></option>
|
||||
<option value="true"<?php selected( $instance['tooltip'], 'true' ); ?>><?php _e( 'Yes', 'vendocrat-payment-methods' ); ?></option>
|
||||
<option value="false"<?php selected( $instance['tooltip'], 'false' ); ?>><?php _e( 'No', 'payment-methods' ); ?></option>
|
||||
<option value="true"<?php selected( $instance['tooltip'], 'true' ); ?>><?php _e( 'Yes', 'payment-methods' ); ?></option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<label for="<?php echo $this->get_field_id( 'placement' ); ?>"><?php _e( 'Placement', 'vendocrat-payment-methods' ); ?>:</label>
|
||||
<label for="<?php echo $this->get_field_id( 'placement' ); ?>"><?php _e( 'Placement', 'payment-methods' ); ?>:</label>
|
||||
<select name="<?php echo $this->get_field_name( 'placement' ); ?>" class="widefat" id="<?php echo $this->get_field_id( 'placement' ); ?>">
|
||||
<option value="top"<?php selected( $instance['placement'], 'top' ); ?>><?php _e( 'Top', 'vendocrat-payment-methods' ); ?></option>
|
||||
<option value="right"<?php selected( $instance['placement'], 'right' ); ?>><?php _e( 'Right', 'vendocrat-payment-methods' ); ?></option>
|
||||
<option value="bottom"<?php selected( $instance['placement'], 'bottom' ); ?>><?php _e( 'Bottom', 'vendocrat-payment-methods' ); ?></option>
|
||||
<option value="left"<?php selected( $instance['placement'], 'left' ); ?>><?php _e( 'Left', 'vendocrat-payment-methods' ); ?></option>
|
||||
<option value="top"<?php selected( $instance['placement'], 'top' ); ?>><?php _e( 'Top', 'payment-methods' ); ?></option>
|
||||
<option value="right"<?php selected( $instance['placement'], 'right' ); ?>><?php _e( 'Right', 'payment-methods' ); ?></option>
|
||||
<option value="bottom"<?php selected( $instance['placement'], 'bottom' ); ?>><?php _e( 'Bottom', 'payment-methods' ); ?></option>
|
||||
<option value="left"<?php selected( $instance['placement'], 'left' ); ?>><?php _e( 'Left', 'payment-methods' ); ?></option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<label for="<?php echo $this->get_field_id('xclass'); ?>"><?php _e( 'Extra classes', 'vendocrat-payment-methods' ); ?>:</label>
|
||||
<label for="<?php echo $this->get_field_id('xclass'); ?>"><?php _e( 'Extra classes', 'payment-methods' ); ?>:</label>
|
||||
<input class="widefat" id="<?php echo $this->get_field_id('xclass'); ?>" name="<?php echo $this->get_field_name('xclass'); ?>" type="text" value="<?php echo esc_attr( $instance['xclass'] ); ?>" />
|
||||
</p>
|
||||
<?php
|
||||
@@ -144,6 +149,7 @@ class vendocrat_Widget_Payment_Methods extends WP_Widget {
|
||||
$instance = $old_instance;
|
||||
|
||||
$instance['title'] = strip_tags( $new_instance['title'] );
|
||||
$instance['methods'] = esc_attr( $new_instance['methods'] );
|
||||
$instance['style'] = esc_attr( $new_instance['style'] );
|
||||
$instance['tooltip'] = esc_attr( $new_instance['tooltip'] );
|
||||
$instance['placement'] = esc_attr( $new_instance['placement'] );
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+29
-22
@@ -1,8 +1,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WooCommerce Payment Methods\n"
|
||||
"POT-Creation-Date: 2014-09-15 03:06+0100\n"
|
||||
"PO-Revision-Date: 2014-09-15 03:07+0100\n"
|
||||
"POT-Creation-Date: 2014-09-22 00:09+0100\n"
|
||||
"PO-Revision-Date: 2014-09-22 00:09+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: vendocrat <hello@vendocr.at>\n"
|
||||
"Language: de\n"
|
||||
@@ -27,71 +27,78 @@ msgstr "Spielend leicht alle akzeptierten Zahlungsmethoden anzeigen"
|
||||
msgid "Accepted Payment Methods"
|
||||
msgstr "Akzeptierte Zahlungsmethoden"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:102
|
||||
#: ../classes/class-widget-payment-methods.php:104
|
||||
msgid "Title"
|
||||
msgstr "Titel"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:106
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
msgid "Style"
|
||||
msgstr "Stil"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
msgid "Default"
|
||||
msgstr "Standard"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:109
|
||||
#: ../classes/class-widget-payment-methods.php:111
|
||||
msgid "Inverse"
|
||||
msgstr "Inverse"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
#: ../classes/class-widget-payment-methods.php:112
|
||||
msgid "Outline"
|
||||
msgstr "Kontur"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:114
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
msgid "Add Tooltip markup?"
|
||||
msgstr "Tooltip-Markup hinzufügen?"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
#: ../classes/class-widget-payment-methods.php:118
|
||||
msgid "No"
|
||||
msgstr "Nein"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:117
|
||||
#: ../classes/class-widget-payment-methods.php:119
|
||||
msgid "Yes"
|
||||
msgstr "Ja"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:121
|
||||
#: ../classes/class-widget-payment-methods.php:123
|
||||
msgid "Placement"
|
||||
msgstr "Platzierung"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:123
|
||||
#: ../classes/class-widget-payment-methods.php:125
|
||||
msgid "Top"
|
||||
msgstr "Oben"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:124
|
||||
#: ../classes/class-widget-payment-methods.php:126
|
||||
msgid "Right"
|
||||
msgstr "Rechts"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:125
|
||||
#: ../classes/class-widget-payment-methods.php:127
|
||||
msgid "Bottom"
|
||||
msgstr "Unten"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:126
|
||||
#: ../classes/class-widget-payment-methods.php:128
|
||||
msgid "Left"
|
||||
msgstr "Links"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:130
|
||||
#: ../classes/class-widget-payment-methods.php:132
|
||||
msgid "Extra classes"
|
||||
msgstr "Zusätzliche Klassen"
|
||||
|
||||
#: ../payment-methods.php:221 ../payment-methods.php:261
|
||||
#: ../payment-methods.php:267 ../payment-methods.php:272
|
||||
#: ../payment-methods.php:41
|
||||
msgid "Bank Transfer"
|
||||
msgstr "Bank-Überweisung"
|
||||
|
||||
#: ../payment-methods.php:225
|
||||
msgid "Pay with Cheque"
|
||||
msgstr "Mit Scheck bezahlen"
|
||||
#: ../payment-methods.php:46
|
||||
msgid "Cash"
|
||||
msgstr "Bargeld"
|
||||
|
||||
#: ../payment-methods.php:293
|
||||
#: ../payment-methods.php:47
|
||||
msgid "Cash on Delivery"
|
||||
msgstr "Nachname"
|
||||
|
||||
#: ../payment-methods.php:57 ../payment-methods.php:58
|
||||
#: ../payment-methods.php:64 ../payment-methods.php:76
|
||||
msgid "Invoice"
|
||||
msgstr "Rechnung"
|
||||
|
||||
#~ msgid "Pay with Cheque"
|
||||
#~ msgstr "Mit Scheck bezahlen"
|
||||
Binary file not shown.
+29
-22
@@ -1,8 +1,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WooCommerce Payment Methods\n"
|
||||
"POT-Creation-Date: 2014-09-15 03:06+0100\n"
|
||||
"PO-Revision-Date: 2014-09-15 03:07+0100\n"
|
||||
"POT-Creation-Date: 2014-09-22 00:08+0100\n"
|
||||
"PO-Revision-Date: 2014-09-22 00:09+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: vendocrat <hello@vendocr.at>\n"
|
||||
"Language: de\n"
|
||||
@@ -27,71 +27,78 @@ msgstr "Spielend leicht alle akzeptierten Zahlungsmethoden anzeigen"
|
||||
msgid "Accepted Payment Methods"
|
||||
msgstr "Akzeptierte Zahlungsmethoden"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:102
|
||||
#: ../classes/class-widget-payment-methods.php:104
|
||||
msgid "Title"
|
||||
msgstr "Titel"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:106
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
msgid "Style"
|
||||
msgstr "Stil"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
msgid "Default"
|
||||
msgstr "Standard"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:109
|
||||
#: ../classes/class-widget-payment-methods.php:111
|
||||
msgid "Inverse"
|
||||
msgstr "Inverse"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
#: ../classes/class-widget-payment-methods.php:112
|
||||
msgid "Outline"
|
||||
msgstr "Kontur"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:114
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
msgid "Add Tooltip markup?"
|
||||
msgstr "Tooltip-Markup hinzufügen?"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
#: ../classes/class-widget-payment-methods.php:118
|
||||
msgid "No"
|
||||
msgstr "Nein"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:117
|
||||
#: ../classes/class-widget-payment-methods.php:119
|
||||
msgid "Yes"
|
||||
msgstr "Ja"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:121
|
||||
#: ../classes/class-widget-payment-methods.php:123
|
||||
msgid "Placement"
|
||||
msgstr "Platzierung"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:123
|
||||
#: ../classes/class-widget-payment-methods.php:125
|
||||
msgid "Top"
|
||||
msgstr "Oben"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:124
|
||||
#: ../classes/class-widget-payment-methods.php:126
|
||||
msgid "Right"
|
||||
msgstr "Rechts"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:125
|
||||
#: ../classes/class-widget-payment-methods.php:127
|
||||
msgid "Bottom"
|
||||
msgstr "Unten"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:126
|
||||
#: ../classes/class-widget-payment-methods.php:128
|
||||
msgid "Left"
|
||||
msgstr "Links"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:130
|
||||
#: ../classes/class-widget-payment-methods.php:132
|
||||
msgid "Extra classes"
|
||||
msgstr "Zusätzliche Klassen"
|
||||
|
||||
#: ../payment-methods.php:221 ../payment-methods.php:261
|
||||
#: ../payment-methods.php:267 ../payment-methods.php:272
|
||||
#: ../payment-methods.php:41
|
||||
msgid "Bank Transfer"
|
||||
msgstr "Bank-Überweisung"
|
||||
|
||||
#: ../payment-methods.php:225
|
||||
msgid "Pay with Cheque"
|
||||
msgstr "Mit Scheck bezahlen"
|
||||
#: ../payment-methods.php:46
|
||||
msgid "Cash"
|
||||
msgstr "Bargeld"
|
||||
|
||||
#: ../payment-methods.php:293
|
||||
#: ../payment-methods.php:47
|
||||
msgid "Cash on Delivery"
|
||||
msgstr "Nachname"
|
||||
|
||||
#: ../payment-methods.php:57 ../payment-methods.php:58
|
||||
#: ../payment-methods.php:64 ../payment-methods.php:76
|
||||
msgid "Invoice"
|
||||
msgstr "Rechnung"
|
||||
|
||||
#~ msgid "Pay with Cheque"
|
||||
#~ msgstr "Mit Scheck bezahlen"
|
||||
BIN
Binary file not shown.
+25
-21
@@ -1,8 +1,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WooCommerce Payment Methods\n"
|
||||
"POT-Creation-Date: 2014-09-15 03:10+0100\n"
|
||||
"PO-Revision-Date: 2014-09-15 03:10+0100\n"
|
||||
"POT-Creation-Date: 2014-09-22 00:09+0100\n"
|
||||
"PO-Revision-Date: 2014-09-22 00:09+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: vendocrat <hello@vendocr.at>\n"
|
||||
"Language: en\n"
|
||||
@@ -27,71 +27,75 @@ msgstr ""
|
||||
msgid "Accepted Payment Methods"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:102
|
||||
#: ../classes/class-widget-payment-methods.php:104
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:106
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
msgid "Style"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:109
|
||||
#: ../classes/class-widget-payment-methods.php:111
|
||||
msgid "Inverse"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
#: ../classes/class-widget-payment-methods.php:112
|
||||
msgid "Outline"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:114
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
msgid "Add Tooltip markup?"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
#: ../classes/class-widget-payment-methods.php:118
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:117
|
||||
#: ../classes/class-widget-payment-methods.php:119
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:121
|
||||
#: ../classes/class-widget-payment-methods.php:123
|
||||
msgid "Placement"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:123
|
||||
#: ../classes/class-widget-payment-methods.php:125
|
||||
msgid "Top"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:124
|
||||
#: ../classes/class-widget-payment-methods.php:126
|
||||
msgid "Right"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:125
|
||||
#: ../classes/class-widget-payment-methods.php:127
|
||||
msgid "Bottom"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:126
|
||||
#: ../classes/class-widget-payment-methods.php:128
|
||||
msgid "Left"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:130
|
||||
#: ../classes/class-widget-payment-methods.php:132
|
||||
msgid "Extra classes"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:221 ../payment-methods.php:261
|
||||
#: ../payment-methods.php:267 ../payment-methods.php:272
|
||||
#: ../payment-methods.php:41
|
||||
msgid "Bank Transfer"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:225
|
||||
msgid "Pay with Cheque"
|
||||
#: ../payment-methods.php:46
|
||||
msgid "Cash"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:293
|
||||
#: ../payment-methods.php:47
|
||||
msgid "Cash on Delivery"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:57 ../payment-methods.php:58
|
||||
#: ../payment-methods.php:64 ../payment-methods.php:76
|
||||
msgid "Invoice"
|
||||
msgstr ""
|
||||
BIN
Binary file not shown.
+41
-17
@@ -1,10 +1,11 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WooCommerce Payment Methods\n"
|
||||
"POT-Creation-Date: 2014-09-08 01:40+0100\n"
|
||||
"PO-Revision-Date: 2014-09-08 01:41+0100\n"
|
||||
"POT-Creation-Date: 2014-09-22 00:10+0100\n"
|
||||
"PO-Revision-Date: 2014-09-22 00:10+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: vendocrat <hello@vendocr.at>\n"
|
||||
"Language: en\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
@@ -12,7 +13,6 @@ msgstr ""
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"Language: en\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:33
|
||||
@@ -27,51 +27,75 @@ msgstr ""
|
||||
msgid "Accepted Payment Methods"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:102
|
||||
#: ../classes/class-widget-payment-methods.php:104
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:106
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
msgid "Style"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:109
|
||||
#: ../classes/class-widget-payment-methods.php:111
|
||||
msgid "Inverse"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
#: ../classes/class-widget-payment-methods.php:112
|
||||
msgid "Outline"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:114
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
msgid "Add Tooltip markup?"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
#: ../classes/class-widget-payment-methods.php:118
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:117
|
||||
#: ../classes/class-widget-payment-methods.php:119
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:121
|
||||
#: ../classes/class-widget-payment-methods.php:123
|
||||
msgid "Placement"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:125
|
||||
msgid "Top"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:126
|
||||
msgid "Right"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:127
|
||||
msgid "Bottom"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:128
|
||||
msgid "Left"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:132
|
||||
msgid "Extra classes"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:220 ../payment-methods.php:260
|
||||
#: ../payment-methods.php:266 ../payment-methods.php:271
|
||||
#: ../payment-methods.php:41
|
||||
msgid "Bank Transfer"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:224
|
||||
msgid "Pay with Cheque"
|
||||
#: ../payment-methods.php:46
|
||||
msgid "Cash"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:292
|
||||
#: ../payment-methods.php:47
|
||||
msgid "Cash on Delivery"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:57 ../payment-methods.php:58
|
||||
#: ../payment-methods.php:64 ../payment-methods.php:76
|
||||
msgid "Invoice"
|
||||
msgstr ""
|
||||
Binary file not shown.
+29
-22
@@ -1,8 +1,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WooCommerce Payment Methods\n"
|
||||
"POT-Creation-Date: 2014-09-15 03:08+0100\n"
|
||||
"PO-Revision-Date: 2014-09-15 03:10+0100\n"
|
||||
"POT-Creation-Date: 2014-09-22 00:10+0100\n"
|
||||
"PO-Revision-Date: 2014-09-22 00:10+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: vendocrat <hello@vendocr.at>\n"
|
||||
"Language: it\n"
|
||||
@@ -27,71 +27,78 @@ msgstr "Mostra con facilità i tuoi metodi di pagamento accettati"
|
||||
msgid "Accepted Payment Methods"
|
||||
msgstr "Metodi di pagamento accettati"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:102
|
||||
#: ../classes/class-widget-payment-methods.php:104
|
||||
msgid "Title"
|
||||
msgstr "Titolo"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:106
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
msgid "Style"
|
||||
msgstr "Stile"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
msgid "Default"
|
||||
msgstr "Predefinito"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:109
|
||||
#: ../classes/class-widget-payment-methods.php:111
|
||||
msgid "Inverse"
|
||||
msgstr "Inverso"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
#: ../classes/class-widget-payment-methods.php:112
|
||||
msgid "Outline"
|
||||
msgstr "Contorno"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:114
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
msgid "Add Tooltip markup?"
|
||||
msgstr "Aggiungere Tooltip markup?"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
#: ../classes/class-widget-payment-methods.php:118
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:117
|
||||
#: ../classes/class-widget-payment-methods.php:119
|
||||
msgid "Yes"
|
||||
msgstr "Si"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:121
|
||||
#: ../classes/class-widget-payment-methods.php:123
|
||||
msgid "Placement"
|
||||
msgstr "Posizione"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:123
|
||||
#: ../classes/class-widget-payment-methods.php:125
|
||||
msgid "Top"
|
||||
msgstr "Sopra"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:124
|
||||
#: ../classes/class-widget-payment-methods.php:126
|
||||
msgid "Right"
|
||||
msgstr "Destra"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:125
|
||||
#: ../classes/class-widget-payment-methods.php:127
|
||||
msgid "Bottom"
|
||||
msgstr "Abbasso"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:126
|
||||
#: ../classes/class-widget-payment-methods.php:128
|
||||
msgid "Left"
|
||||
msgstr "Sinistra"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:130
|
||||
#: ../classes/class-widget-payment-methods.php:132
|
||||
msgid "Extra classes"
|
||||
msgstr "Classi extra"
|
||||
|
||||
#: ../payment-methods.php:221 ../payment-methods.php:261
|
||||
#: ../payment-methods.php:267 ../payment-methods.php:272
|
||||
#: ../payment-methods.php:41
|
||||
msgid "Bank Transfer"
|
||||
msgstr "Trasferimento bancario"
|
||||
|
||||
#: ../payment-methods.php:225
|
||||
msgid "Pay with Cheque"
|
||||
msgstr "Paga con assegno"
|
||||
#: ../payment-methods.php:46
|
||||
msgid "Cash"
|
||||
msgstr "Contanti"
|
||||
|
||||
#: ../payment-methods.php:293
|
||||
#: ../payment-methods.php:47
|
||||
msgid "Cash on Delivery"
|
||||
msgstr "Pagamento con contrassegno"
|
||||
|
||||
#: ../payment-methods.php:57 ../payment-methods.php:58
|
||||
#: ../payment-methods.php:64 ../payment-methods.php:76
|
||||
msgid "Invoice"
|
||||
msgstr "Fatture"
|
||||
|
||||
#~ msgid "Pay with Cheque"
|
||||
#~ msgstr "Paga con assegno"
|
||||
BIN
Binary file not shown.
+41
-17
@@ -1,10 +1,11 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WooCommerce Payment Methods\n"
|
||||
"POT-Creation-Date: 2014-09-08 01:40+0100\n"
|
||||
"PO-Revision-Date: 2014-09-08 01:41+0100\n"
|
||||
"POT-Creation-Date: 2014-09-22 00:09+0100\n"
|
||||
"PO-Revision-Date: 2014-09-22 00:09+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: vendocrat <hello@vendocr.at>\n"
|
||||
"Language: en\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
@@ -12,7 +13,6 @@ msgstr ""
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Poedit-KeywordsList: __;_e\n"
|
||||
"Language: en\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:33
|
||||
@@ -27,51 +27,75 @@ msgstr ""
|
||||
msgid "Accepted Payment Methods"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:102
|
||||
#: ../classes/class-widget-payment-methods.php:104
|
||||
msgid "Title"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:106
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
msgid "Style"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:108
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:109
|
||||
#: ../classes/class-widget-payment-methods.php:111
|
||||
msgid "Inverse"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:110
|
||||
#: ../classes/class-widget-payment-methods.php:112
|
||||
msgid "Outline"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:114
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
msgid "Add Tooltip markup?"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:116
|
||||
#: ../classes/class-widget-payment-methods.php:118
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:117
|
||||
#: ../classes/class-widget-payment-methods.php:119
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:121
|
||||
#: ../classes/class-widget-payment-methods.php:123
|
||||
msgid "Placement"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:125
|
||||
msgid "Top"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:126
|
||||
msgid "Right"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:127
|
||||
msgid "Bottom"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:128
|
||||
msgid "Left"
|
||||
msgstr ""
|
||||
|
||||
#: ../classes/class-widget-payment-methods.php:132
|
||||
msgid "Extra classes"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:220 ../payment-methods.php:260
|
||||
#: ../payment-methods.php:266 ../payment-methods.php:271
|
||||
#: ../payment-methods.php:41
|
||||
msgid "Bank Transfer"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:224
|
||||
msgid "Pay with Cheque"
|
||||
#: ../payment-methods.php:46
|
||||
msgid "Cash"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:292
|
||||
#: ../payment-methods.php:47
|
||||
msgid "Cash on Delivery"
|
||||
msgstr ""
|
||||
|
||||
#: ../payment-methods.php:57 ../payment-methods.php:58
|
||||
#: ../payment-methods.php:64 ../payment-methods.php:76
|
||||
msgid "Invoice"
|
||||
msgstr ""
|
||||
@@ -3,7 +3,7 @@
|
||||
/* 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 ♥ by <a href='http://vendocr.at/'>vendocrat</a> in Vienna.
|
||||
* Version: 0.1.2
|
||||
* Version: 0.2.0
|
||||
* Author: vendocrat
|
||||
* Author URI: http://vendocr.at/
|
||||
* License: GNU General Public License v3.0
|
||||
@@ -19,11 +19,13 @@ if ( ! class_exists( 'vendocrat_Woo_Payment_Methods' ) ) :
|
||||
|
||||
class vendocrat_Woo_Payment_Methods {
|
||||
|
||||
public $payment_methods;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @since 2014-08-15
|
||||
* @version 2014-08-15
|
||||
* @version 2014-09-22
|
||||
**************************************************/
|
||||
function __construct() {
|
||||
define( 'PAYMENT_METHODS_DIR', plugin_dir_path( __FILE__ ) );
|
||||
@@ -38,6 +40,9 @@ class vendocrat_Woo_Payment_Methods {
|
||||
// load text domain
|
||||
add_action( 'plugins_loaded', array( &$this, 'load_plugin_textdomain' ) );
|
||||
|
||||
// wirt payment methods array
|
||||
add_action( 'plugins_loaded', array( &$this, 'payment_methods' ) );
|
||||
|
||||
// scripts and styles
|
||||
if ( ! is_admin() ) :
|
||||
add_action( 'wp_enqueue_scripts', array( &$this, 'enqueue_styles' ) );
|
||||
@@ -60,7 +65,7 @@ class vendocrat_Woo_Payment_Methods {
|
||||
* @version 2014-09-08
|
||||
**************************************************/
|
||||
static function load_plugin_textdomain() {
|
||||
load_plugin_textdomain( 'vendocrat-payment-methods', PAYMENT_METHODS_DIR .'languages' );
|
||||
load_plugin_textdomain( 'payment-methods', false, basename( dirname( __FILE__ ) ) . '/languages/' );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -89,16 +94,16 @@ class vendocrat_Woo_Payment_Methods {
|
||||
* @return void
|
||||
*
|
||||
* @since 2014-09-07
|
||||
* @version 2014-09-07
|
||||
* @version 2014-09-21
|
||||
**************************************************/
|
||||
function enqueue_styles() {
|
||||
if ( ! wp_style_is( 'vendocrat-payment-webfont', 'registered' ) ) {
|
||||
wp_register_style( 'vendocrat-payment-webfont', PAYMENT_METHODS_CSS_URI .'payment-webfont.min.css', array(), false, 'all' );
|
||||
if ( ! wp_style_is( 'vendocrat-paymentfont', 'registered' ) ) {
|
||||
wp_register_style( 'vendocrat-paymentfont', PAYMENT_METHODS_CSS_URI .'paymentfont.min.css', array(), false, 'all' );
|
||||
}
|
||||
wp_enqueue_style( 'vendocrat-payment-webfont' );
|
||||
wp_enqueue_style( 'vendocrat-paymentfont' );
|
||||
|
||||
wp_register_style( 'vendocrat-payment-methods', PAYMENT_METHODS_CSS_URI .'payment-methods.css', array(), false, 'all' );
|
||||
wp_enqueue_style( 'vendocrat-payment-methods' );
|
||||
wp_register_style( 'payment-methods', PAYMENT_METHODS_CSS_URI .'payment-methods.css', array(), false, 'all' );
|
||||
wp_enqueue_style( 'payment-methods' );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -124,17 +129,83 @@ class vendocrat_Woo_Payment_Methods {
|
||||
register_widget( 'vendocrat_Widget_Payment_Methods' );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Payment Methods array
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 2014-09-21
|
||||
* @version 2014-09-22
|
||||
**************************************************/
|
||||
function payment_methods() {
|
||||
$this->payment_methods = array(
|
||||
'amazon' => 'Amazon',
|
||||
'american-express' => 'American Express',
|
||||
'atm' => 'ATM',
|
||||
'bank-transfer' => __( 'Bank Transfer', 'payment-methods' ),
|
||||
'bankomat' => 'Bankomat',
|
||||
'bitcoin' => 'Bitcoin',
|
||||
'braintree' => 'Braintree',
|
||||
'carta-si' => 'Carta Si',
|
||||
'cash' => __( 'Cash', 'payment-methods' ),
|
||||
'cash-on-delivery' => __( 'Cash on Delivery', 'payment-methods' ),
|
||||
'cb' => 'CB',
|
||||
'cirrus' => 'Cirrus',
|
||||
// 'cheque' => __( 'Pay with Cheque', 'payment-methods' ),
|
||||
'clickandbuy' => 'ClickAndBuy',
|
||||
'credit-card' => 'Credit Card',
|
||||
'diners' => 'Diners Club',
|
||||
'discover' => 'Discover',
|
||||
'ec' => 'EC (Electronic Cash)',
|
||||
'eps' => 'Eps',
|
||||
'fattura' => __( 'Invoice', 'payment-methods' ),
|
||||
'facture' => __( 'Invoice', 'payment-methods' ),
|
||||
'flattr' => 'Flattr',
|
||||
'giropay' => 'Giropay',
|
||||
'gittip' => 'Gittip',
|
||||
'google-wallet' => 'Google Wallet',
|
||||
'ideal' => 'Ideal',
|
||||
'invoice' => __( 'Invoice', 'payment-methods' ),
|
||||
'jcb' => 'JCB',
|
||||
'maestro' => 'Maestro',
|
||||
'mastercard' => 'Mastercard',
|
||||
'mastercard-securecode' => 'Mastercard Securecode',
|
||||
'ogone' => 'Ogone',
|
||||
'paybox' => 'PayBox',
|
||||
'paylife' => 'Paylife',
|
||||
'paypal' => 'PayPal',
|
||||
'paysafecard' => 'paysafecard',
|
||||
'postepay' => 'postepay',
|
||||
'quick' => 'Quick',
|
||||
'invoice' => __( 'Invoice', 'payment-methods' ),
|
||||
'ripple' => 'Ripple',
|
||||
'skrill' => 'Skrill',
|
||||
'sofort' => 'SofortÜberweisung',
|
||||
'square' => 'Square',
|
||||
'stripe' => 'Stripe',
|
||||
'truste' => 'Truste',
|
||||
'unionpay' => 'Unionpay',
|
||||
'verified-by-visa' => 'Verified By Visa',
|
||||
'verisign' => 'Verisign',
|
||||
'visa' => 'Visa',
|
||||
'visa-electron' => 'Visa Electron',
|
||||
'western-union' => 'Western Union',
|
||||
'wirecard' => 'Wirecard',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Woo Accepted Payment Methods
|
||||
*
|
||||
* @since 2014-09-07
|
||||
* @version 2014-09-15
|
||||
* @version 2014-09-21
|
||||
**************************************************/
|
||||
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
|
||||
'methods' => false, // comma separated list of payment methods icon slugs to be displayed, see http://paymentfont.io for available icons (new since 0.2.0)
|
||||
'style' => 'default', // default, inverse, o/outline
|
||||
'tooltip' => false, // adds data attributes to icon to be used for diplaying tooltips (made for Bootstrap)
|
||||
'placement' => 'bottom', // set tooltip placement (new since 0.1.2)
|
||||
@@ -147,55 +218,65 @@ class vendocrat_Woo_Payment_Methods {
|
||||
$class.= ($style) ? ' payment-methods-'. $style : '';
|
||||
$class.= ($xclass) ? ' '. $xclass : '';
|
||||
|
||||
$output = '<ul';
|
||||
$output.= ($class) ? ' class="'. esc_attr( trim($class) ) .'"' : '';
|
||||
$output.= '>';
|
||||
|
||||
// use the passed methods array if it's not empty, otherwhise use available gateways/methods
|
||||
if ( empty( $methods ) ) {
|
||||
if ( ! $methods ) {
|
||||
$gateways = $this->get_available_gateways();
|
||||
$methods = $gateways['methods'];
|
||||
$methods = $gateways['methods'];
|
||||
}
|
||||
|
||||
// sort array
|
||||
ksort($methods);
|
||||
if ( $methods ) {
|
||||
$methods = explode( ',', $methods );
|
||||
|
||||
// let the magic happen
|
||||
foreach ( $methods as $key => $value ) {
|
||||
$id = $key;
|
||||
$title = $value;
|
||||
|
||||
$icon = '';
|
||||
|
||||
switch ( $key ) {
|
||||
case 'bank-transfer' :
|
||||
case 'cheque' :
|
||||
case 'paybox' :
|
||||
case 'cash-on-delivery' :
|
||||
case 'quick' :
|
||||
case 'wirecard' :
|
||||
// currently no font icons available, so we spare them
|
||||
//$icon = '<b class="'. esc_attr( trim($id) ) .'" title="'. esc_attr( trim($title) ) .'">'. $title .'</b>';
|
||||
break;
|
||||
|
||||
default :
|
||||
$class = 'pw pw-'. $id .' '. $id;
|
||||
|
||||
$icon = '<i';
|
||||
$icon.= ($class) ? ' class="'. esc_attr( trim($class) ) .'"' : '';
|
||||
$icon.= ($title) ? ' title="'. esc_attr( trim($title) ) .'"' : '';
|
||||
$icon.= ($tooltip AND $placement) ? ' data-toggle="tooltip" data-placement="'. $placement .'"' : '';
|
||||
$icon.= '></i>';
|
||||
break;
|
||||
foreach ( $methods as $key => $slug ) {
|
||||
if ( $slug )
|
||||
$methods[$slug] = $slug;
|
||||
}
|
||||
|
||||
if ( $icon )
|
||||
$output.= '<li>'. $icon .'</li>';
|
||||
$methods = array_flip( $methods );
|
||||
}
|
||||
|
||||
$output.= '</ul>';
|
||||
if ( count($methods) > 0 ) {
|
||||
// remove duplicate methods
|
||||
$methods = array_unique($methods);
|
||||
|
||||
return $output;
|
||||
// sort array
|
||||
ksort($methods);
|
||||
|
||||
// let the magic happen
|
||||
$icons = '';
|
||||
foreach ( $methods as $slug ) {
|
||||
$icon = '';
|
||||
|
||||
// continue if we have no corresponding icon
|
||||
if ( ! array_key_exists ( $slug, $this->payment_methods ) )
|
||||
continue;
|
||||
|
||||
// retrieve title
|
||||
$title = $this->payment_methods[$slug];
|
||||
|
||||
// build icon class
|
||||
$iclass = 'pf pf-'. $slug .' '. $slug;
|
||||
|
||||
// icon markup
|
||||
$icon = '<i';
|
||||
$icon.= ($iclass) ? ' class="'. esc_attr( trim($iclass) ) .'"' : '';
|
||||
$icon.= ($title) ? ' title="'. esc_attr( trim($title) ) .'"' : '';
|
||||
$icon.= ($tooltip AND $placement) ? ' data-toggle="tooltip" data-placement="'. $placement .'"' : '';
|
||||
$icon.= '></i>';
|
||||
|
||||
// wrap in list item tags and append to $icons
|
||||
$icons.= '<li>'. $icon .'</li>';
|
||||
}
|
||||
|
||||
// return $output if we have icons
|
||||
if ( $icons ) {
|
||||
$output = '<ul';
|
||||
$output.= ($class) ? ' class="'. esc_attr( trim($class) ) .'"' : '';
|
||||
$output.= '>'. $icons .'</ul>';
|
||||
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -206,7 +287,7 @@ class vendocrat_Woo_Payment_Methods {
|
||||
**************************************************/
|
||||
function get_available_gateways() {
|
||||
$gateways = array();
|
||||
$methods = array();
|
||||
$methods = '';
|
||||
|
||||
if ( $available_gateways = WC()->payment_gateways->get_available_payment_gateways() ) {
|
||||
|
||||
@@ -218,85 +299,88 @@ class vendocrat_Woo_Payment_Methods {
|
||||
|
||||
switch ( $gateway_id ) {
|
||||
case 'bacs' :
|
||||
$methods['bank-transfer'] = __( 'Bank Transfer', 'vendocrat-payment-methods' );
|
||||
$methods.= ' bank-transfer';
|
||||
break;
|
||||
|
||||
case 'cheque' :
|
||||
$methods['cheque'] = __( 'Pay with Cheque', 'vendocrat-payment-methods' );
|
||||
$methods.= ' cheque';
|
||||
break;
|
||||
|
||||
case 'paypal' :
|
||||
$methods['paypal'] = 'PayPal';
|
||||
$methods['visa'] = 'Visa';
|
||||
$methods['mastercard'] = 'MasterCard';
|
||||
$methods['american-express'] = 'American Express';
|
||||
$methods['discover'] = 'Discover';
|
||||
$methods['diners'] = 'Diners Club';
|
||||
$methods['jcb'] = 'JCB';
|
||||
$methods.= ' paypal';
|
||||
$methods.= ' visa';
|
||||
$methods.= ' mastercard';
|
||||
$methods.= ' american-express';
|
||||
$methods.= ' discover';
|
||||
$methods.= ' diners';
|
||||
$methods.= ' jcb';
|
||||
break;
|
||||
|
||||
case 'stripe' :
|
||||
$methods['stripe'] = 'Stripe';
|
||||
$methods['visa'] = 'Visa';
|
||||
$methods['mastercard'] = 'MasterCard';
|
||||
$methods['american-express'] = 'American Express';
|
||||
$methods['discover'] = 'Discover';
|
||||
$methods['diners'] = 'Diners Club';
|
||||
$methods['jcb'] = 'JCB';
|
||||
$methods.= ' stripe';
|
||||
$methods.= ' visa';
|
||||
$methods.= ' mastercard';
|
||||
$methods.= ' american-express';
|
||||
$methods.= ' discover';
|
||||
$methods.= ' diners';
|
||||
$methods.= ' jcb';
|
||||
break;
|
||||
|
||||
case 'wirecard' :
|
||||
$methods['wirecard'] = 'WireCard';
|
||||
$methods['paypal'] = 'PayPal';
|
||||
$methods['visa'] = 'Visa';
|
||||
$methods['mastercard'] = 'MasterCard';
|
||||
$methods['american-express'] = 'American Express';
|
||||
$methods['discover'] = 'Discover';
|
||||
$methods['diners'] = 'Diners Club';
|
||||
$methods['jcb'] = 'JCB';
|
||||
$methods['maestro'] = 'Maestro';
|
||||
$methods['quick'] = 'Quick';
|
||||
$methods['paybox'] = 'paybox';
|
||||
$methods['paysafecard'] = 'paysafecard';
|
||||
$methods['bank-transfer'] = __( 'Bank Transfer', 'vendocrat-payment-methods' );
|
||||
$methods.= ' wirecard';
|
||||
$methods.= ' paypal';
|
||||
$methods.= ' visa';
|
||||
$methods.= ' mastercard';
|
||||
$methods.= ' american-express';
|
||||
$methods.= ' discover';
|
||||
$methods.= ' diners';
|
||||
$methods.= ' jcb';
|
||||
$methods.= ' maestro';
|
||||
$methods.= ' quick';
|
||||
$methods.= ' paybox';
|
||||
$methods.= ' paysafecard';
|
||||
$methods.= ' bank-transfer';
|
||||
$methods.= ' invoice';
|
||||
break;
|
||||
|
||||
case 'ClickAndBuy' :
|
||||
case 'clickandbuy' :
|
||||
$methods['clickandbuy'] = 'ClickAndBuy';
|
||||
$methods['bank-transfer'] = __( 'Bank Transfer', 'vendocrat-payment-methods' );
|
||||
$methods.= ' clickandbuy';
|
||||
$methods.= ' bank-transfer';
|
||||
break;
|
||||
|
||||
case 'sofortgateway' :
|
||||
$methods['clickandbuy'] = 'SofortÜberweisung';
|
||||
$methods['bank-transfer'] = __( 'Bank Transfer', 'vendocrat-payment-methods' );
|
||||
$methods.= ' sofort';
|
||||
$methods.= ' bank-transfer';
|
||||
break;
|
||||
|
||||
case 'amazon' :
|
||||
case 'amazon-fps' :
|
||||
$methods['amazon'] = 'Amazon';
|
||||
$methods.= ' amazon';
|
||||
break;
|
||||
|
||||
case 'google' :
|
||||
case 'wallet' :
|
||||
case 'google-wallet' :
|
||||
$methods['clickandbuy'] = 'Google Wallet';
|
||||
$methods.= ' clickandbuy';
|
||||
break;
|
||||
|
||||
case 'bitpay' :
|
||||
case 'coinbase' :
|
||||
case 'bitcoin' :
|
||||
$methods['bitcoin'] = 'Bitcoin';
|
||||
$methods.= ' bitcoin';
|
||||
break;
|
||||
|
||||
case 'cash_on_delivery' :
|
||||
$methods['cash-on-delivery'] = __( 'Cash on Delivery', 'vendocrat-payment-methods' );
|
||||
$methods.= ' cash-on-delivery';
|
||||
break;
|
||||
|
||||
default :
|
||||
break;
|
||||
}
|
||||
|
||||
$methods = str_replace( ' ', ',', trim($methods) );
|
||||
|
||||
$gateways[$gateway_id] = array(
|
||||
'id' => $gateway_id,
|
||||
'title' => $gateway_title,
|
||||
@@ -307,9 +391,6 @@ class vendocrat_Woo_Payment_Methods {
|
||||
|
||||
}
|
||||
|
||||
// remove duplicate methods
|
||||
$methods = array_unique($methods);
|
||||
|
||||
// add methods array to gateways array
|
||||
$gateways['methods'] = $methods;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ 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.2
|
||||
Stable tag: 0.2.0
|
||||
License: GNU General Public License v3.0
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
@@ -18,16 +18,24 @@ You can display them via shortcode, widget or template tag in three available st
|
||||
|
||||
You are using the famous Bootstrap framework? Awesome, cause we've added the markup for tooltips, so that users can see the payment methods name on hover.
|
||||
|
||||
All icons are displayed using the truly awesome icon font <a href="https://github.com/orlandotm/payment-webfont">Payment Webfont</a> by @orlandotm, making them look good on every screen.
|
||||
**PaymentFont webfont**
|
||||
|
||||
This plugin uses the webfont <a href="https://github.com/vendocrat/PaymentFont">PaymentFont</a> by <a href="https://twitter.com/vendocrat">@vendocrat</a> to display the brand icons, making them look good on every screen.
|
||||
|
||||
**Contributions**
|
||||
|
||||
Contributions are warmly welcome via <a href="https://github.com/vendocrat/WooComerce-Payment-Methods"><strong>GitHub</strong></a>.
|
||||
|
||||
**Translations**
|
||||
|
||||
Translations included:
|
||||
|
||||
* English
|
||||
* German
|
||||
* Italian
|
||||
|
||||
Please contact me via Twitter (<a href="https://twitter.com/vendocrat">@vendocrat</a>) or hit us on <a href="https://github.com/vendocrat/WooComerce-Payment-Methods">GitHub</a>, if you have a translation you want to contribute!
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. Upload 'woocommerce-payment-methods' to the '/wp-content/plugins/' directory
|
||||
@@ -39,14 +47,12 @@ Translations included:
|
||||
|
||||
= Why is payment method {XYZ} missing? =
|
||||
|
||||
Please report any missing payment methods via <a href="https://github.com/vendocrat/WooComerce-Payment-Methods"><strong>GitHub's issues system</strong></a> or hit us at <a href="http://twitter.com/vendocrat">@vendocrat</a>.
|
||||
|
||||
Note: As we're using a webfont called <a href="https://github.com/orlandotm/payment-webfont">Payment Webfont</a> by @orlandotm, it may be possible that there is just no icon available for your desired payment method. Open an issue at their GitHub repo and ask for it to be added!
|
||||
Miss some payment methods? Let me have a look at it by opening an issue on <a href="https://github.com/vendocrat/WooComerce-Payment-Methods"><strong>GitHub</strong></a> or hit us at <a href="http://twitter.com/vendocrat">@vendocrat</a>.
|
||||
|
||||
== Screenshots ==
|
||||
|
||||
1. WooCommerce Payment Methods Shortcodes
|
||||
2. WooCommerce Payment Methods Widgets
|
||||
1. Shortcode output (top-down: default, inverse, outline style)
|
||||
2. Widgets (top-down: default, inverse, outline style)
|
||||
|
||||
== Changelog ==
|
||||
|
||||
@@ -57,4 +63,7 @@ Initial release.
|
||||
Fixed wrong url and typo in readme, updated shortcode and screenshots.
|
||||
|
||||
= 0.1.2 =
|
||||
Fixed an error in widget class, added placement option to tooltips, updated language files.
|
||||
Fixed an error in widget class, added placement option to tooltips, updated language files.
|
||||
|
||||
= 0.2.0 =
|
||||
Now using PaymentFont to display brand icons. Fixed textdomain issue plus some minor fixes and enhancements. Added new screenshots!
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 41 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 51 KiB |
Reference in New Issue
Block a user