This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 24 replies, has 2 voices.

Last updated by mierzynskas 6 years, 3 months ago.

Assigned support staff: Harshad.

Author Posts
January 3, 2014 at 2:23 pm #315825

mierzynskas

I have no option to set this up.

Can we find any other solution, please? It is urgent.

January 4, 2014 at 9:56 am #316001

Harshad

Dear mierzynskas,

Can we do this, Until I resolve your issue, can you please remove the firewall, So that I can connect to your site via ftp.

Once I fix it, You can again enable it.

January 4, 2014 at 10:55 am #316023

mierzynskas

Hello,

I am sorry, but I can not deactivate the firewall. There is no option like that in my FTP account.

You can send me your new IP and I try to allow you to access or I can upload the whole wordpress directory and you'll upload it on your ftp? Would it be possible like this? Or maybe you can help via Teamviewer?

Thanks in advance.

January 4, 2014 at 11:27 am #316031

Harshad

Dear mierzynskas,

Please check your email, I have sent you my IP

January 4, 2014 at 11:29 am #316032

mierzynskas

OK, I added your IP to the fw.

Please try now to connect to my FTP.

Greetings

January 4, 2014 at 11:33 am #316037

Harshad

Dear mierzynskas,

Okay its working now, I will check your issue and update you on it asap.

Please standby for further updates.

January 4, 2014 at 11:34 am #316038

mierzynskas

Finally.

Good luck! 🙂

January 4, 2014 at 12:10 pm #316045

Harshad

Dear mierzynskas,

Thanks, Can you please check your site now, I have added following code to your theme's functions.php file.

Your theme is using different CSS class for nav menu items, I have replaced the classes, so now it uses your theme classes.

add_filter ('wp_nav_menu','strip_empty_classes');
function strip_empty_classes($menu) {
    $menu = str_replace('<li class="menu-item menu-item-language menu-item-language-current">','<li class="dropdown">',$menu);
	$menu = str_replace('<ul class="sub-menu submenu-languages">','<ul class="dropdown-menu">',$menu);
    return $menu;
}
January 4, 2014 at 12:29 pm #316046

mierzynskas

Wow! Many thanks for the support! It works fine now. 🙂

Regards

August 9, 2016 at 2:58 pm #996443

mierzynskas

Harshad, please delete my email address in post https://wpml.org/forums/topic/menu-does-not-roll-out/#post-315248. Thanks