-
AuthorPosts
-
September 20, 2016 at 4:03 pm #689365
Hi,
unfortunately after I have updated to 3.8 I also the same issue like some others here about the flags in the header.
This Code below in the functions.php let the website disappear and the error as seen in the private content is coming up now.function avia_remove_main_menu_flags(){
remove_filter( ‘wp_nav_menu_items’, ‘avia_append_lang_flags’, 9998, 2 );
remove_filter( ‘avf_fallback_menu_items’, ‘avia_append_lang_flags’, 9998, 2 );
remove_action( ‘avia_meta_header’, ‘avia_wpml_language_switch’, 10);
}
add_action(‘after_setup_theme’,’avia_remove_main_menu_flags’);Please advise how to solve the problem and also how to make the flags disappear again.
Many Thanks!
September 20, 2016 at 4:06 pm #689369Hey Denti!
Please go to wp-content/themes/enfold/functions.php file and remove the code via FTP. If you need assistance, please post FTP and WP admin logins here privately.
Regards,
YigitSeptember 20, 2016 at 4:09 pm #689378Since I can not login into WP Background please find the FTP Login below.
September 20, 2016 at 4:11 pm #689384Hi Yigit,
I´ve removed the code in the Editor at functions.php, but the problems still exists. Please let me also know how to make the flags disappear in future by myself.
Thanks!
September 20, 2016 at 4:21 pm #689391Hey!
There was an extra closing curly bracket after your code. I removed it. It should be working fine now. I cannot check since you have not posted the link to your website :)
Cheers!
YigitSeptember 20, 2016 at 4:26 pm #689396Hey Yigit!
Thanks! I´ve checked it and it works! Thank you so much buddy ;-)
By the way, you can find the website link in the private content..Have a great day!
Best,
OliverSeptember 20, 2016 at 4:42 pm #689401Hey!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)You too have a great day!
Regards,
Yigit -
AuthorPosts
- The topic ‘Urgent!!! Website disappeared because of the WPML flag problem..’ is closed to new replies.
