arnisraido
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Disable Contact Form 7 AutofillAdd custom attributes
autocomplete="both" autocomplete="off"
withfunctions.php
file.add_filter( 'wpcf7_form_elements', 'imp_wpcf7_form_elements' ); function imp_wpcf7_form_elements( $content ) { $str_pos = strpos( $content, 'name="FirstName"' ); $content = substr_replace( $content, ' autocomplete="both" autocomplete="off" ', $str_pos, 0 ); $str_pos = strpos( $content, 'name="LastName"' ); $content = substr_replace( $content, ' autocomplete="both" autocomplete="off" ', $str_pos, 0 ); return $content; }
Check solution here: https://wordpress.stackexchange.com/a/342515/91844
Forum: Plugins
In reply to: [WooCommerce] Page not found 404 ErrorI have exactly the same problem. post_type=shop_order page cannot be opened.
Just I am receiving Internal Server Error 500,
but the most interesting thing is – that there is even NO logs in Apache server, when I try to access this link
not access no error logs. It’s quite strange.If I disable Woocommerce – it says – incorrect post type.
I have tested this on 2 servers, and have the same problem – I have enabled all WP Debugs (as you know, the depend on server settings a bit), – no luck – no error logs, no notifications.
Forum: Plugins
In reply to: [qTranslate X] Language links in main menu – language rewrittenNice!
After upgrade to 3.2.9 (plugin update from admin),
?setlang=no – started to work.Now I have link https://sitename.domain/fr/?setlang=no
in main menu. And it works!
Previously had 3.2.7 version – ?setlang=no did not worked.
Thank You!
Hi, WPMU.
You are right, Gallery shortcode is working.
But for custom modules – does not.For example – Form Maker module shortcodes does not work.
E.g. [Form id=”11″]But is it possible to execute any shortcode in Your popup?
I think, this is module-specific.Forum: Plugins
In reply to: [qTranslate X] Language links in main menu – language rewrittenBecause – it has always been a problem for me – after installing Qtranslate, to add fixed links (usually, with language iso code (En, Fr, …) or flags somewhere in “header” section.
One way – to use Qtranslate Language selection widget. But not all themes supports widgets in header.
You can always add them hard-coded in header.php template.But – all themes has “main navigation” menu. And it seems – it is much more easier to add this link in main menu and it afterwards with css.
IMHO.But may be You have better solution?
Forum: Plugins
In reply to: [qTranslate X] Language links in main menu – language rewrittenOk, I have not tried with beta, with latest live – did not work.
I will try beta.Forum: Plugins
In reply to: [qTranslate X] Language links in main menu – language rewrittenI think, there is nothing to do with cookies.
What I want –
– to be able enter custom link in main menu, with fixed language in link, like this:
https://www.domain.com/en/
https://www.domain.com/fr/– then – Open the webpage and _see those links as they are added to main menu_
At this moment – if I will go to header.php template file, and enter those links there – they will stay “as is”.
But if I enter them into Main menu – they are automatically rewritten to “the current language, I am at the site”…
It seems, this is not possible at this moment?
Then –
this tutorials will not work eitherForum: Plugins
In reply to: [qTranslate X] Language links in main menu – language rewrittenSorry, i mean – I AM using qtranslate-x plugin for multilanguage site.
But I am not using anything extra for main menu links. Just plain links ??Anything more, how to explain?
Forum: Plugins
In reply to: [qTranslate X] Language links in main menu – language rewrittenWhat do You mean “Only title is different”?
I am not using plugin. I add links manually in main menu.OK, if I need 2 language links in main menu
English
FrenchSo the links in main menu should be
https://site/en https://site/fr
If I add them to main menu, and set links with/or without full sitename – the links all are rewritten to
if I am in ENGLISH version:
<a href="https://site/en">En</a> <a href="https://site/en">Fr</a>
or
if I am in FRENCH version:
<a href="https://site/fr">En</a> <a href="https://site/fr">Fr</a>