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 2 replies, has 2 voices.

Last updated by George 8 years, 9 months ago.

Author Posts
September 29, 2011 at 2:52 pm #37150

George

I have some basic text widgets that only have the titles translating. The body of the widgets are not showing in the translated language in the front end even though I was able to translate them in the string section of the admin. I saw some info on applying filters but I dont know where to put the code.
$wtitle = apply_filters('widget_title', $wtitle);
do i just put that in my functions file?
any guidance would be greatly appreciated.

September 29, 2011 at 4:59 pm #37152

Anonymous

You should use the Multilingual text widgets that come with String Translation

September 29, 2011 at 5:35 pm #37153

George

wow,i'm an idiot. i didn't even know they came with special string widgets. once I used those and updated the strings in the admin all is well 🙂
thank you!

The topic ‘[Closed] where to add apply filters code?’ is closed to new replies.