guymal
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Woocommerce reset password translationsAnybody have an idea what I can do about this?
Hi
I didn’t install any cache plugin recently.
You can see it here https://naturalhealth.me/courses/raw-food-foundation-english/ change currencies in the footer of the page. The same happens in the Woocommerce checkout page (you can click on purchase now and you’ll see it in the checkout page).
Also, I see in Woocommerce -> Products the price that is shown is in USD but the number is the number I have set for NIS. For example I have a product that is $199 in USD and 720 in NIS. In the Woocommerce products table in the price column it says $720. I’m not sure if it was always like this or if something changed recently.
Thanks
Forum: Plugins
In reply to: [Polylang] Having different footers per languageI couldn’t get any support on this so ended up writing custom code to show/hide widgets based on the language of the page. So I basically have double widgets in the footer and then with custom PHP code hide and show the relevant ones.
Forum: Plugins
In reply to: [WP SendFox] Adding to different lists for different languagesThanks for the reply @bogdanfix
What I did was create a code snippet that uses
add_filter( 'sf4wp_before_add_contact', 'sendfox_list_by_language', 10, 3 );and then in that check the woocommerce order to see what product they ordered, check what language the product is in, and then accordingly pick what Sendfox list to use.
Forum: Plugins
In reply to: [WP SendFox] Adding to different lists for different languagesHi @bogdanfix
- People are signing up through sales with Woocommerce. So they are added to my Sendfox list with your Woo integration once they make a purchase.
- The language is set through the url in my example, so mysite.com/fr/somepage but with Polylang you can get the page language simply by using:
$language=pll_get_post_language( $page_id);Since different sites could be using different methods to determine the current language (subdomain, suburl, entirely different domain etc…)
Thanks
Ok, I disabled the plugin, updated it, and reactivated it.
It seems to be working fine now.
Thanks
Thanks I will try it.
If I deactivate WCML, update, and reactivate will I lose all my settings?
No, I don’t have WPML installed.
Forum: Plugins
In reply to: [Polylang] Having different footers per languageAny idea what could be the reason I can’t choose a widget language?
Or a different solution for setting up different content in the footer per language?
Forum: Plugins
In reply to: [Polylang] Having different footers per languageThis is what I see when editing a widget. I don’t have the “This widget is displayed for”:

Any idea why?
Forum: Plugins
In reply to: [Polylang] Having different footers per languageI’m using legacy widgets but don’t see those options. Do I need to have Polylang Pro for this? (from what I can tell you’re only supposed to need pro for widgets block editor)
I couldn’t manage to figure out what is causing the problem.
Any idea what tables in the database store these keys?
Maybe I can just save them directly in the database.
Forum: Plugins
In reply to: [Polylang] Having different footers per languageNot sure what you mean by that, I shared that same link in my original question. Based on that page choosing a widget language should be available, at least for legacy widgets. but the option isn’t there for some reason.
Forum: Plugins
In reply to: [Polylang] Having different footers per languageI totally don’t see that. I’m using Kadence with the block editor, what are you using?