{"id":211,"date":"2012-08-03T16:33:24","date_gmt":"2012-08-03T23:33:24","guid":{"rendered":"https:\/\/2012.la.wordcamp.org\/?post_type=wcb_session&#038;p=211"},"modified":"2012-11-21T02:28:11","modified_gmt":"2012-11-21T10:28:11","slug":"weaving-javascript-in-and-out-of-wordpress","status":"publish","type":"wcb_session","link":"https:\/\/la.wordcamp.org\/2012\/session\/weaving-javascript-in-and-out-of-wordpress\/","title":{"rendered":"Weaving JavaScript in and out of WordPress"},"content":{"rendered":"<p>I\u2019d like to do a presentation on how JavaScript goes into a WordPress setup and how a programmer gets it back out. The presentation would cover the proper way to register and enqueue scripts. It would expand upon that idea then to show out to deregister scripts when necessary, how and why to use scripts from external sources, and what javascripts are already available within a standard WordPress set up. Next, it\u2019d cover using wp_localize_script to prepare PHP data for JavaScript use. Finally, time permitting, I\u2019d cover using admin-ajax.php to handle AJAX requests.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019d like to do a presentation on how JavaScript goes into a WordPress setup and how a programmer gets it back out. The presentation would cover the proper way to register and enqueue scripts. It would expand upon that idea &hellip; <a href=\"https:\/\/la.wordcamp.org\/2012\/session\/weaving-javascript-in-and-out-of-wordpress\/\">Continue reading <span class=\"screen-reader-text\">Weaving JavaScript in and out of WordPress<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1182490,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":0,"_wcpt_session_duration":3000,"_wcpt_session_type":"","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[190],"footnotes":""},"session_track":[8327],"session_category":[],"class_list":["post-211","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-intermediate"],"jetpack_shortlink":"https:\/\/wp.me\/p2ieEB-3p","jetpack_sharing_enabled":true,"session_date_time":{"date":"","time":""},"session_speakers":[{"id":"190","slug":"jeff-zinn","name":"Jeff Zinn","link":"https:\/\/la.wordcamp.org\/2012\/speaker\/jeff-zinn\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/la.wordcamp.org\/2012\/wp-json\/wp\/v2\/sessions\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/la.wordcamp.org\/2012\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/la.wordcamp.org\/2012\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/la.wordcamp.org\/2012\/wp-json\/wp\/v2\/users\/1182490"}],"version-history":[{"count":3,"href":"https:\/\/la.wordcamp.org\/2012\/wp-json\/wp\/v2\/sessions\/211\/revisions"}],"predecessor-version":[{"id":1137,"href":"https:\/\/la.wordcamp.org\/2012\/wp-json\/wp\/v2\/sessions\/211\/revisions\/1137"}],"speakers":[{"embeddable":true,"href":"https:\/\/la.wordcamp.org\/2012\/wp-json\/wp\/v2\/speakers\/190"}],"wp:attachment":[{"href":"https:\/\/la.wordcamp.org\/2012\/wp-json\/wp\/v2\/media?parent=211"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/la.wordcamp.org\/2012\/wp-json\/wp\/v2\/session_track?post=211"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/la.wordcamp.org\/2012\/wp-json\/wp\/v2\/session_category?post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}