{"id":32621,"date":"2013-07-28T03:55:02","date_gmt":"2013-07-28T03:55:02","guid":{"rendered":"https:\/\/br.wordpress.org\/support\/topic\/adicionar-javascript-no-headphp\/"},"modified":"2016-08-06T01:23:01","modified_gmt":"2016-08-06T01:23:01","slug":"adicionar-javascript-no-headphp","status":"closed","type":"topic","link":"https:\/\/br.wordpress.org\/support\/topic\/adicionar-javascript-no-headphp\/","title":{"rendered":"Adicionar javascript no head.php"},"content":{"rendered":"<p>Estou usando um tema desenvolvido pela YOOTheme.<br \/>\nTenho uma p\u00e1gina com um formul\u00e1rio de contato, e gostaria de adicionar um javascript no header desta p\u00e1gina (se for poss\u00edvel, adicionar esse javascript SOMENTE nessa p\u00e1gina).<br \/>\nN\u00e3o sei como adicionar o javascript no header.php. Eu joguei o javascript l\u00e1, s\u00f3 que n\u00e3o deu certo.<br \/>\nMeu head.php:<\/p>\n<p>&lt;?php<br \/>\n\/**<br \/>\n* @package   Sync<br \/>\n* @author    YOOtheme http:\/\/www.yootheme.com<br \/>\n* @copyright Copyright (C) YOOtheme GmbH<br \/>\n* @license   http:\/\/www.gnu.org\/licenses\/gpl.html GNU\/GPL<br \/>\n*\/<\/p>\n<p>\/\/ start output buffer to capture content for use in footer.php<br \/>\nob_start();<\/p>\n","protected":false},"template":"","class_list":["post-32621","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/32621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/32621\/revisions"}],"wp:attachment":[{"href":"https:\/\/br.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=32621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}