15 49.0138 8.38624 1 0 4000 1 http://burnhambox.com 200

A Great Way of Adding Translatable Strings to Your WordPress Theme

Sometimes it’s a headache to use translatable strings while creating a WordPress theme. Especially if you’re duplicating and changing your existing codes to make a new theme.

Here’s the whole code to be added in functions.php:

When you need to echo the string, just call it like that in any file:

That’s all!

We’re an award-winning team which creates memorable WordPress & WooCommerce themes with well thought customizers. There’s nothing to be afraid of colors. We use them a lot. That’s our thing. Over 2 years, we’ve been providing our services to the people who look for premium quality WordPress & WooCommerce themes, 5-star customer support and a positive approach. Happiness matters. We work for it.

How to Create Instagram Slider Widget Shortcode
Next Post
How to Create a Shortcode for Instagram Slider Widget
  • Dave Miller

    Nice job!

    • Burnhambox

      Happy to hear 🙂 Please feel free to use it in your projects.