Debesyla
Forum Replies Created
-
Im having a same problem with URL’s.
Plugin auto-translates URL’s correctly:
- /lt/kaip-parasyti-teksta/ (lithuanian)
- /en/how-to-write-text/ (english)
- /uk/як-написати-текст/ (ukrainian)
But when it comes to redirecting users using language switcher, switcher suggest links like ‘/lt/як-написати-текст/’ and ‘/en/як-написати-текст/’ witch turn out as 404s.
Basically, cyrilic in URL’s break redirections.
Forum: Plugins
In reply to: [Facebook for WooCommerce] Products not syncingThank you, Saif. Tested out both fixes (reseted connection and reconnected + tried deleting and syncing manually). Sadly, the same error still appears… What other things I could try? ??
Oh yeah, that’s the funny thing! ??
It (Woocommerce product filter) works fine without TP enabled.
It also works fine with TP enabled in non-default languages.
It doesn’t work with TP enabled in default language.
But it does work with TP enabled in default language if Autoptimize plugin is on with “Optimize javascript” setting is on in that plugin.So, yeah… Confusing…
The filter plugin throws out “Cannot read properties of undefined (reading ‘innerHTML’)” in default language only, so I guess it’s something about .js load order? But Autoptimize support states that it doesnt switch up script load order… And by comparing the pages HTML with and without Autoptimize I can only see that it indeed only minifies .js, nothing more.
I did also try to compare HTML of pages in default in secondary language, it seems TP adds only one script, so… Yeah…
I am out of ideas what could I try to test ??
Forum: Plugins
In reply to: [Autoptimize] What does “Optimize JavaScript Code?” do?(Oops, forgot to mark as resolved.)
Forum: Plugins
In reply to: [Autoptimize] What does “Optimize JavaScript Code?” do?Thank you very much for your answers! ??
Forum: Plugins
In reply to: [Autoptimize] What does “Optimize JavaScript Code?” do?Hmm! So Autoptimize only does this?
1) Finds .js (not .min.js) -> minifies it -> places it back in same place;
2) Ignores inline scripts and doesn’t do anything with those?In past few hours I have tried a dozen of other optimisation plugins (litespeed, wprocket, etc…) with various minifying settings, but I can’t figure out what Autoptimize does differently ??
…Did anyone already tell that Autoptimize somehow fixes another plugin (Translatepress) bug? Because I guess this would be first time for you to hear that. Autoptimize is magical, somehow ??
It seems like some styling error. When cookie is accepted it does store a cookie + it adds class to body, but it doesn’t do anything currently.
So add this to your theme custom CSS place:
body.cookies-accepted #cookie-notice { display: none!important; }
It’s not really a fix, but there is a workaround – in ‘woocommerce-max-quantity.php’ (main plugin file) you can comment out (or just delete) lines 156-163.
It seems that plugin is checking the stock of main product, not it’s variations and returing that the available amount is ‘0’ ??
if ( $variation->managing_stock() && ! $variation->backorders_allowed() ) { // Limit our max by the available stock, if stock is lower // Set to lessor of stock qty or max allowed $args['max_qty'] = min( $max, $args['max_qty'] ); }
Of course, it may be easy to fix it – just add a new ‘if’ that checks if the product is variable with managed stock.
Forum: Plugins
In reply to: [wp-Typography] Plugin causes server internal problem, error 500Yes, it is really enabled and it’s only this plugin. What kind of server settings this plugin needs? My hosting support are asking for this ??
Forum: Plugins
In reply to: [wp-Typography] Plugin causes server internal problem, error 500PHP Version: 7.0.28
memory_limit 256MNothing in php error log :/
Forum: Plugins
In reply to: [Vanilla Forums] Embed in WordPress cutting off top menu – no scrollYup, having same trouble at https://debesyla.lt/forumas/ while browsing some topics.
Forum: Plugins
In reply to: [AddToAny Share Buttons] Facing problems in adding custom textYeah, I was wondering myself – is there any way to include default message in facebook shares? By modyfing plugin or some other way? ??