dawed78
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Lazy loading how to add grey backgroundThanks
GreetingsHello Ethan
I have created two form for each languages
Now it is solved
Thanks
Greetings
DavideHello
I am using Polylang plugin
And I cannot create two of the same form, because in my code I am using just a single form
Can you help me?
Thanks
Greetings
DavideForum: Plugins
In reply to: [WooCommerce] Woocommerce slow after wordpress updateHello Amanda
Not solved but thanks
Greetings
DavideForum: Plugins
In reply to: [WooCommerce] Choose category in related productsok I give up … I do not change the category of related product
Thanks
Greetins
DavideForum: Plugins
In reply to: [WooCommerce] Choose category in related productsHello Mikey
That work
but show alwais the same “products”, not randomly like before.Forum: Plugins
In reply to: [WooCommerce] Choose category in related productsHello john
Thanks for reply
I have n° 2 category:
1 Available product
2 Sold out productWhen click on “sold out product”, the related product section show “Sold out product”.
But I need to show “Available product” categoryHow can I do?
ThanksForum: Plugins
In reply to: [Cache Enabler] Cache enabler and Woocommerce widget “Recently viewed”Uhm … not lucky
Forum: Plugins
In reply to: [Polylang] Translate string in functions.phpOk Thanks
That work
I have just changhe in:
__(pll__(‘VENDUTA’), ‘woocommerce’)
Greetings
DavideForum: Plugins
In reply to: [Polylang] Translate string in functions.phpI do not find it … that string VENDUTA was added by me in functions.php.
I Have added you code but that string do not appear in language / string translation. ..
Maybe I need to add:
echo pll_ in functions.php?Forum: Plugins
In reply to: [Polylang] Translate string in functions.phpHello
That work!
But I need to translate my snippet code added in functions.php, for example customize woocommerce, like:function function bbloomer_display_sold_out_loop_woocommerce() {
global $product;if ( !$product->is_in_stock() ) {
echo ‘<span class=”soldout”>’ . __(‘VENDUTA’, ‘woocommerce’) . ‘</span>’;
}
}
add_action( ‘woocommerce_before_single_product_summary’, function() {
globaL $product;
if ( !$product->is_in_stock() ) {
echo ‘<span class=”soldout”>VENDUTA</span>’;
}
});display_sold_out_loop_woocommerce() {
global $product;if ( !$product->is_in_stock() ) {
echo ‘<span class=”soldout”>’ . __(‘VENDUTA’, ‘woocommerce’) . ‘</span>’;
}
}
add_action( ‘woocommerce_before_single_product_summary’, function() {
globaL $product;
if ( !$product->is_in_stock() ) {
echo ‘<span class=”soldout”>VENDUTA</span>’;
}
});I need to translate ‘VENDUTA’ in “SOLD OUT” for english version
Thanks
Forum: Plugins
In reply to: [Loco Translate] Translate string in functions.php of child themeHello
I do not need to translate all my child theme but only some string in custom code from functions.php
Thanks
Greetings
DavideHi Pablo
Thank you
Greetings
DavideHello Pablo
My site
https://www.davidedepalma.com/it/homepage/How to resolse “the empty wish-list” for unlogged users?
Thanks
Greetings
DavideForum: Plugins
In reply to: [Offers for WooCommerce] Icon on buttonHello
thanks anyway
Greetings
Davide