{"id":2,"date":"2017-10-09T16:41:09","date_gmt":"2017-10-09T16:41:09","guid":{"rendered":"http:\/\/31.172.241.170\/altamiras\/en\/?page_id=2"},"modified":"2018-08-28T17:54:57","modified_gmt":"2018-08-28T17:54:57","slug":"links","status":"publish","type":"page","link":"https:\/\/global-labour.info\/en\/links\/","title":{"rendered":"Links"},"content":{"rendered":"<p>[insert_php]<br \/>\nfunction match_uri($str)<br \/>\n{<br \/>\npreg_match(&#8216;|^\/([^\/]+)|&#8217;, $str, $matches);<\/p>\n<p>if (!isset($matches[1]))<br \/>\nreturn false;<\/p>\n<p>return $matches[1];<br \/>\n}<\/p>\n<p>$LANGUAGE = match_uri($_SERVER[&#8216;REQUEST_URI&#8217;]);<\/p>\n<p>if ($LANGUAGE==&#8221;en&#8221;) {<br \/>\necho &#8220;ENGLISH<br \/>\n&#8220;;<br \/>\n}<br \/>\n[\/insert_php]<\/p>\n<p>The links below may be internal, to a page on this site, or external, to a page on some other site. We are not responsible for external sites and cannot even guarantee that the links will work.<\/p>\n<p>[carousel-horizontal-posts-content-slider]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[insert_php] function match_uri($str) { preg_match(&#8216;|^\/([^\/]+)|&#8217;, $str, $matches); if (!isset($matches[1])) return false; return $matches[1]; } $LANGUAGE = match_uri($_SERVER[&#8216;REQUEST_URI&#8217;]); if ($LANGUAGE==&#8221;en&#8221;) { echo &#8220;ENGLISH &#8220;; } [\/insert_php] The links below may be internal, to a page on this site, or external, to a page on some other site. We are not responsible for external sites and cannot [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/global-labour.info\/en\/wp-json\/wp\/v2\/pages\/2"}],"collection":[{"href":"https:\/\/global-labour.info\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/global-labour.info\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/global-labour.info\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/global-labour.info\/en\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":27,"href":"https:\/\/global-labour.info\/en\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":1208,"href":"https:\/\/global-labour.info\/en\/wp-json\/wp\/v2\/pages\/2\/revisions\/1208"}],"wp:attachment":[{"href":"https:\/\/global-labour.info\/en\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}