Forum Replies Created
-
AuthorPosts
-
Hi Mike61!
I checked the code sample for visual composer and I think it can be used with our Enfold theme if we modify it a bit. Please try to add this code at the ver bottom of the Enfold child theme functions.php file:
function removeAVIATags(){ $regex = "^\[(\/|)av_(.*)\]^"; $imprint_page_id = get_option( WGM_Helper::get_wgm_option( 'impressum' ) ); $imprint_page = get_post( $imprint_page_id ); $imprint_text = $imprint_page->post_content; $imprint_text = preg_replace($regex,"",$imprint_text); WGM_Email::the_mail_footer_section( __( 'Legal Information', 'woocommerce-german-market' ), $imprint_text ); $terms_page_id = get_option( WGM_Helper::get_wgm_option( 'versandkosten__lieferung' ) ); $terms_page = get_post( $terms_page_id ); $terms_page->post_content = preg_replace($regex,"",$terms_page->post_content); WGM_Email::the_mail_footer_sub_section( sprintf( __( 'Shipping %s Delivery', 'woocommerce-german-market' ), '&'), $terms_page->post_content ); $withdrawal_page_id = get_option( WGM_Helper::get_wgm_option( 'widerruf' ) ); $withdrawal_page = get_post( $withdrawal_page_id ); $withdrawal_page->post_content = preg_replace($regex,"", $withdrawal_page->post_content); WGM_Email::the_mail_footer_section( __( 'Revocation', 'woocommerce-german-market' ), $withdrawal_page->post_content ); $terms_page_id = get_option( WGM_Helper::get_wgm_option( 'agb' ) ); $terms_page = get_post( $terms_page_id ); $terms_page->post_content = preg_replace($regex,"",$terms_page->post_content); WGM_Email::the_mail_footer_section( __( 'Terms and Conditions', 'woocommerce-german-market' ), $terms_page->post_content ); } add_filter('get_email_de_footer','removeAVIATags');
Please note that I didn’t test the code extensively – thus I’d recommend to check the email content carefully.
Cheers!
PeterHi!
I sent you an email with the download link for the german market extension for Kriesi themes :)
Best regards,
PeterOctober 25, 2015 at 11:21 am in reply to: Brauche dringend das Passwort für WooCommerce DE Erweiterung für Kriesi Themes #524367Hey Jan!
Habe eine Mail mit dem Passwort gesendet :)
Cheers!
PeterAugust 17, 2015 at 6:47 pm in reply to: Regarding to "WooCommerce DE Erweiterung für Kriesi Themes" #489066Hey!
We do NOT support this plugin right now and you use it at your own risk. I already contacted the plugin authors via mail and the wordpress forum ( https://wordpress.org/support/topic/kompatibilitat-mit-kriesi-themes ) but they simply ignored my mails/forum posts. We won’t support the germanized plugin at the moment because the plugin authors don’t seem to be interested in a cooperation. The german market plugin authors and the german shop plugin authors (both plugins mentioned here: https://kriesi.at/support/topic/woocommerce-de-erweiterung-fur-kriesi-themes/ ) cooperate with us and I was able to create a compatibility plugin for our themes. Right now I’d recommend to use one of these two plugins because we can troubleshoot bugs and test them with our themes. We might support the Germanized Pro Plugin in the future but it depends on the vendidero team.
Best regards,
PeterAugust 13, 2015 at 6:28 pm in reply to: DE Erweiterung für enfold mit WGM German Market braucht dringend ein update #487365Hi!
Bzgl d) Die Produkt-Kurzbeschreibung im Warenkorb (fehlt) und an der Kasse anzeigen.Ja, das stimmt, ist jedoch kein Bug von Enfold bzw. der “DE Erweiterung für enfold” Erweiterung. Wenn man zB das Standard-Theme von WordPress aktiviert (zB TwentyThirteen), so ändert sich die Darstellung nicht. Es kann daher davon ausgegangen werden, dass German Market so programmiert ist und die Produktbeschreibung auf der Warenkorb-Seite nicht angezeigt wird. Ob dies ein Bug von German Market ist oder so intendiert ist, weiß ich leider nicht und müsste im German Market Support Forum nachgefragt werden. MAn macht die Produktbeschreibung nur auf der Kassa-Seite Sinn, da dort alle vertragsrelevanten Informationen angezeigt werden müssen und dies auf der Warenkorb-Seite nicht erforderlich ist.
e) konnte ich auf meinem Testserver noch nicht reproduzieren. Mir ist jedoch aufgefallen, dass der Fehler auf eurer Website verschwindet, wenn man auf das “Enfold” Theme wechselt. Es könnte daher durch euer Child Theme bzw. dem Child Theme Code (css, js, php) verursacht werden.
Regards,
PeterAugust 8, 2015 at 1:33 pm in reply to: DE Erweiterung für enfold mit WGM German Market braucht dringend ein update #484800Hey!
Ich habe das Plugin aktualisiert.
a) Nein, die Aktualisierung erfolgt nicht automatisch, aber es wird ein Hinweis auf der Admin-Seite eingeblendet, dass eine neue Version verfügbar ist.
b) und d) wurden gefixed.
c) konnte ich nicht reproduzieren (mit neuesten WC, Enfold, GM und Avia Extension Versionen), egal ob mit oder ohne angezeigter Prouktbeschreibung. Ich werde es aber im Auge behalten.
Best regards,
PeterHey!
Currently we only support WPML. There’s no plan to support other language plugins at the moment. However if more users request it we might look into it.
Regards,
PeterHi Coco!
Ich empfehle dieses Plugin zu installieren: https://wordpress.org/plugins/display-widgets/
Mit diesem Plugin kann man für jede WPML Sprache eigene Widgets anlegen bzw. zuordnen.Best regards,
PeterApril 6, 2015 at 4:50 pm in reply to: WPML issues with activating, seeing no site content, not being able to configure #424006Hey claudia0779!
Please try to increase the allocated memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP ( http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/ ). It seems like Enfold and WPML require more memory on your server.
Best regards,
PeterApril 6, 2015 at 11:05 am in reply to: Sidebar only to be viewed on one or more specific pages + more language roll out #423865Hi!
1) There’re plugins like Polylang but we don’t support them and Enfold may not work properly with these plugins. There’s no real alternative to WPML at the moment.
2) You can use this free plugin: https://wordpress.org/plugins/backupwordpress/ to create backups of your wordpress website.
Regards,
PeterHey!
Please install the Woocommerce multilingual plugin to translate WooCommerce with WPML. This article (Link) will help you to configure the extension.
Cheers!
PeterMarch 31, 2015 at 7:16 pm in reply to: String, renaming, Mehrwertsteuer, Schlüsselwort, Tag, Rename #421478Hey Rafíyel!
I’m pretty sure it’s not a theme text string but you can try to switch to a standard wordpress theme (i.e. TwentyThirteen) to check if the text string is part of the theme templates or not. I recommend to edit the woocommerce plugin translation files (but also the theme translation files) with a plugin like Codestyling or the WPML string translation tool. If you want to translate WooCommerce install this plugin first Woocommerce multilingual.
Regards,
PeterHi!
No but you can use the icl_object_id function: http://wpml.org/documentation/support/creating-multilingual-wordpress-themes/language-dependent-ids/ to get the translated page id – use it like:
$page_ids = array(); $page_ids['miamifooter'] = array(42,54,6); $page_ids['othercustomtmp'] = array(4,5,67); foreach($page_ids as $key => $page_id) { foreach($page_id as $count => $id) { $xlat = icl_object_id($id, 'page', true); if(!is_null($xlat)) $page_ids[$key][$count] = $xlat; } } if(is_page($page_ids['miamifooter'])) { get_footer('miamifooter'); } else if(is_page($page_ids['othercustomtmp'])) { get_footer('othercustomtmp'); } else { get_footer(); }
and replace the page ids in the arrays with your ids and the template names, etc.
Best regards,
PeterMarch 1, 2015 at 3:32 pm in reply to: Post tags not working if Relevanssi is enabled – another try #404067Hey!
Schön, dass mein Tipp dir auch geholfen hat!
Best regards,
PeterHey!
Unfortunately this is not possible afaik. The base (products, portfolio-itenms, etc.) is required to determine the post type and wordpress can’t parse the pretty url without that base slug.
Cheers!
PeterHi!
Vielen Dank! Ich werde diese Änderung in die nächsten Version des Plugins einbauen.
Best regards,
PeterJanuary 18, 2015 at 11:15 am in reply to: Avia template builder and MQ-translate; LangTabs not working #381426Hi!
The functions.php file is in the theme folder (wp-content/themes/enfold/functions.php). Probably you need to insert the code at the very bottom of the file but we never used or worked with MQ translate and thus it may break the theme. I strongly recommend to use WPML instead.
Regards,
PeterHi paulchiao!
Please add this on functions.php to remove the theme’s default flags (flag icons instead of dropdown):
add_action('after_setup_theme','avia_remove_main_menu_flags'); function avia_remove_main_menu_flags(){ remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); }
You can then set the flags on the WPML option page (WPML > Display the language switcher in the WP Menu setting).
Best regards,
PeterHi Erdoğan!
Yes, you can’t simply change the protocol. If you want to change the url from http://mywebsite.com to https://mywebsite.com you must also load all resources (images, scripts, etc.) from the https:// domain. However you must make sure that all url paths in the database also point to the https:// url. I recommend to use WP MigrateDB or WP MigrateDB PRO to export the database. Use the “domain replacement” feature to replace all occurrences of http://mywebsite.com with https://mywebsite.com (mywebsite.com is the placeholder for your domain) in your database and export the database. Then make a backup of your old database, delete the database data and import the database file you exported with the migrate plugin.
Best regards,
PeterHi avraamd!
It seems like the image files can’t be found on your server – I get two error messages:
1) http://www.greekeggs.gr/wp-content/uploads/2014/09/shutterstock_215112940.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
2) http://www.greekeggs.gr/wp-content/uploads/2014/09/shutterstock_218096398.jpg Failed to load resource: the server responded with a status of 404 (Not Found)
Cheers!
PeterNovember 23, 2014 at 1:24 pm in reply to: Double ?lang=en with "view all results" problem in search #356196Hi e-cat!
Please try to add this code to your child theme functions.php file or enfold/functions.php:
function avia_custom_wpml_translate_all_search_results_url($search_messages, $search_query) { $search_messages['all_results_link'] = home_url() . '?' . $search_messages['all_results_query']; return $search_messages; } add_filter('avf_ajax_search_messages', 'avia_custom_wpml_translate_all_search_results_url', 15, 2);
Regards,
PeterHey!
Glad it works now. hckranz please create another thread if the problem still exists on your website.
Best regards,
PeterNovember 23, 2014 at 1:10 pm in reply to: WPML automatically in top header – change flag to dropdown #356193Hi!
I checked your website and it seems like you’re using an old version (v2.0). Please update WPML to the latest version (I think it’s 3.8.1 or so) and you should see the options on the admin page.
Regards,
PeterNovember 17, 2014 at 9:08 pm in reply to: WPML automatically in top header – change flag to dropdown #352682Hey digitalcrossover!
Please add this on functions.php to remove the theme’s default flags:
add_action('after_setup_theme','avia_remove_main_menu_flags'); function avia_remove_main_menu_flags(){ remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); }
You can then set the flags on the WPML option page (WPML > Display the language switcher in the WP Menu setting).
Regards,
PeterHi!
Great, please let us know if it doesn’t work for you.
Best regards,
PeterHey!
Glad you solved the issue :)
Regards,
PeterNovember 17, 2014 at 9:04 pm in reply to: WPML switching off language switcher various locations #352678Hey Neroodmi!
Please add this on functions.php to remove the theme’s default flags:
add_action('after_setup_theme','avia_remove_main_menu_flags'); function avia_remove_main_menu_flags(){ remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); }
You can then set the flags on the WPML option page (WPML > Display the language switcher in the WP Menu setting).
Best regards,
PeterOctober 31, 2014 at 4:31 pm in reply to: Issue with WPML Language switcher not loading correctly on main menu #344112Hi!
1) Use this code (insert it at the bottom of the enfold or child theme functions.php file):
add_action('after_setup_theme','avia_remove_main_menu_flags'); function avia_remove_main_menu_flags(){ remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); }
to remove the default theme flags.
2) To activate the WPML language switcher (= dropdown) go to WPML > Languages and tick the “Display the language switcher in the WP Menu” checkbox.
Best regards,
PeterHey amepro!
Yes, Enfold is fully compatible with WPML plugin ( you can check it here – http://wpml.org/documentation/theme-compatibility/ ) and many of Enfold users are using it for their multilingual websites.
Best regards,
PeterHey!
1) I removed the flag icons with this code (I inserted it at the bottom of the functions.php file):
add_action('after_setup_theme','avia_remove_main_menu_flags'); function avia_remove_main_menu_flags(){ remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); }
2) I commented out your custom css code in the quick css field (English website) and I could fix the language switcher position.
Best regards,
Peter -
AuthorPosts