{"id":386,"date":"2014-02-12T12:52:24","date_gmt":"2014-02-12T11:52:24","guid":{"rendered":"http:\/\/hesmid.nl\/test\/?p=386"},"modified":"2014-02-17T14:43:21","modified_gmt":"2014-02-17T13:43:21","slug":"wordpress-multilingual-wpml-tips","status":"publish","type":"post","link":"https:\/\/hesmid.nl\/test\/wordpress-multilingual-wpml-tips\/","title":{"rendered":"WordPress Multilingual (WPML) &#8211; tips"},"content":{"rendered":"<p>Just some short notes on using WPML in wordpress:<\/p>\n<h3>Translating theme strings<\/h3>\n<p>In the code use this for strings that should be translated (example is for &#8216;roots&#8217; \u00a0theme)<\/p>\n<pre lang=\"php\">\r\necho __('Instructors', 'roots')\r\n<\/pre>\n<p>Then in the WPML settings, got to the tab &#8216;Theme and plugins localization&#8217;<\/p>\n<p>Scroll down and click &#8216;Scan the theme for Strings&#8217;<\/p>\n<p>Then scroll slighlty up and click the button &#8216;View strings that need translation&#8217;<\/p>\n<p>Add your translation(s) and save<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just some short notes on using WPML in wordpress: Translating theme strings In the code use this for strings that should be translated (example is for &#8216;roots&#8217; \u00a0theme) echo __(&#8216;Instructors&#8217;, &#8216;roots&#8217;) Then in the WPML settings, got to the tab &#8216;Theme and plugins localization&#8217; Scroll down and click &#8216;Scan the theme for Strings&#8217; Then scroll [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17],"tags":[43,41],"acf":[],"_links":{"self":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/386"}],"collection":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/comments?post=386"}],"version-history":[{"count":5,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/386\/revisions"}],"predecessor-version":[{"id":404,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/386\/revisions\/404"}],"wp:attachment":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}