mmagnani
Forum Replies Created
-
Yes, and other instances work just fine in the same website.
Forum: Plugins
In reply to: [Participants Database] Scroll to signup form after submissionThanks!
The following snippet did the trick with standard template and same page Thanks Message:jQuery(document).ready(function(){ if(jQuery('.pdb-thanks').length) { jQuery(window).scrollTop(jQuery('.pdb-thanks').offset().top); } });
Well, that raises an annoying Chrome alert of breached password…
Is there a way to avoid this?Forum: Plugins
In reply to: [Participants Database] RSVP from participantsThanks!
Forum: Plugins
In reply to: [Code Snippets] Redeclared Pluggable FunctionsThank you!
Same issue here and pagination is broke, too.
Popup alternative works as expected, though.
All shortcodes are affected.Chrome console shows:
Uncaught ReferenceError: YT is not defined at HTMLDivElement.eval (eval at <anonymous> (frontend.min.js?ver=1.3.3:1), <anonymous>:1:1157)
Plugin Version 1.3.3
WordPress 4.9.8Merci, Thierry!
Hi, @nicolatroehler
I’m asking the same there, too.
https://ultracommunity.com/forums/topic/conflict-with-login-with-ajax/#post-4711Forum: Plugins
In reply to: [Loco Translate] How to change location?Thank you again!
Forum: Plugins
In reply to: [Loco Translate] How to change location?Thanks!
BTW, is this Loco “file move” behavior expected?
I mean, I didn’t expect that Loco would move all my translations.Forum: Plugins
In reply to: [Brazilian Market on WooCommerce] CPF, RG e CNPJ no e-mail transacionalConsegui filtrando
woocommerce_email_customer_details_fields
seguindo os exemplos em
https://www.ads-software.com/support/topic/add-custom-field-to-customer-details-block-in-order-email/
e códigos em
https://docs.woocommerce.com/wc-apidocs/class-WC_Emails.html
e
https://plugins.trac.www.ads-software.com/browser/woocommerce-extra-checkout-fields-for-brazil/tags/3.6.0/includes/admin/views/html-order-billing-data.phpPor exemplo, para exibir o celular:
add_filter( 'woocommerce_email_customer_details_fields', 'my_email_customer_details_fields', 10, 3 ); function my_email_customer_details_fields( $fields, $sent_to_admin, $order ) { $fields['billing_cellphone'] = array( 'label' => __( 'Celular', 'woocommerce-extra-checkout-fields-for-brazil' ), 'value' => wptexturize( $order->get_meta( '_billing_cellphone' ) ) ); return $fields; }
Para RG, CPF etc., basta acrescentar/trocar
billing_cellphone
porbilling_rg
,billing_cpf
etc. e lembrando que na fun??oget_meta
precisa do underscore antes (_billing_rg
,_billing_cpf
etc.Forum: Plugins
In reply to: [Product Customer List for WooCommerce] Custom field in listThat’s great, @kokomoweb !
Thank you!