ldybiec
Forum Replies Created
-
Forum: Plugins
In reply to: [Translate WordPress and go Multilingual - Weglot] EDIT CODE WELGOTCould you help me with function parse_url because I can’t do it.
Forum: Plugins
In reply to: [Translate WordPress and go Multilingual - Weglot] EDIT CODE WELGOTI have one more problem, because when I click the button “EN” in url add a new value “?wmc-currency=GBP” but when I click button “PL” currency doesn’t change becuse is added to the previous value, so url always appends add new value to old. How can I change code i weglot.php that i will change language old value currency will delete and will add new value. Can you open page asgym.pl and help me?
Forum: Plugins
In reply to: [Translate WordPress and go Multilingual - Weglot] EDIT CODE WELGOTEverything of working, thank you so much
Forum: Plugins
In reply to: [Translate WordPress and go Multilingual - Weglot] EDIT CODE WELGOTForum: Plugins
In reply to: [Translate WordPress and go Multilingual - Weglot] EDIT CODE WELGOTThanks it works, but I have yet problem because when i click button”EN” i would like add on url “& wmc-currency=GBP” and when i click button “PL” will add “wmc-currency=PLN”.
I wrote variable “$value1 = ‘&wmc-currency=GBP’ ;” in weglot.php and I added in code
$list .= '<li class="wg-li ' . $flag_class . $d . '"> <a data-wg-notranslate href="' . $link .$value1 .'">' . ($withname ? ($full ? WGUtils::getLangNameFromCode( $d,false ) : strtoupper( $d )) : '') . '</a></li>';
it’s working, but on once side. Can you help me?
- This reply was modified 6 years, 11 months ago by ldybiec.
Forum: Plugins
In reply to: [Translate WordPress and go Multilingual - Weglot] EDIT CODE WELGOTExactly I would like have button “PL” on left side and button “EN” on right Side always
- This reply was modified 6 years, 11 months ago by ldybiec.
Could you help me, because i don’t have much skills. I find file weglot.php and i wrote at he end “Weglot::Instance()->getCurrentLang();” but i don’t know where i musy write document.getElementsByTagName(‘html’)[0].getAttribute(‘lang’);
plugin multi currency works local.
- This reply was modified 6 years, 11 months ago by ldybiec.