_e Function for Conent
-
I’m using Roots theme and WPML. I did some research on gettext, _e and text domains. Right now WPML is set up along with Roots to translate the title, description, and keywords.
The index.php file has the header/titles translated:
<div class="page-header"> <h1><?php _e('Latest Posts', 'roots');?></h1> </div>
However, how do I translate the content on my page? I’m guessing I need to edit loop-page.php and the_content(). I’m not exactly sure what to do at this point?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘_e Function for Conent’ is closed to new replies.