Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Sander de Wijs
PLUS
Sander de Wijs
Courses Plus Student 22,267 Points

Tip for multi language WP sites

Just a quick tip for something I learned developing a multi language Wordpress site using the Stella translate plugin. This plugin does a great job translating posts, pages and menus. However, when you use gettext tags in your template, Stella doesn't translate them.

After searching around for a while, this post helped me a great deal to solve the issue. You basicaly add a new function to Stella that makes WP recognize it when you switch language. At the bottom of the thread I posted an improved version of the code.

It cost me a couple of hours to figure this one out, so maybe I can save someone a bit of time posting this.