{"id":37258,"date":"2015-07-11T14:26:32","date_gmt":"2015-07-11T14:26:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/insert-script\/"},"modified":"2016-02-14T12:57:25","modified_gmt":"2016-02-14T12:57:25","slug":"insert-script","status":"closed","type":"plugin","link":"https:\/\/tw.wordpress.org\/plugins\/insert-script\/","author":13991763,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3","stable_tag":"trunk","tested":"4.7.33","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Insert Script","header_author":"Aaron Belchamber","header_description":"","assets_banners_color":"","last_updated":"2016-02-14 12:57:25","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/belchamber.us\/wordpress\/plugins","header_plugin_uri":"https:\/\/belchamber.us\/wordpress\/plugins\/insert-script.zip","header_author_uri":"https:\/\/belchamber.us","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1175,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Screenshot of this powerful yet unobtrusive plug-in isn't available because it's just too simple."}},"plugin_section":[],"plugin_tags":[2628,36740,662,80],"plugin_category":[43],"plugin_contributors":[94262],"plugin_business_model":[],"class_list":["post-37258","plugin","type-plugin","status-closed","hentry","plugin_tags-insert","plugin_tags-insert-script","plugin_tags-php","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-aaronbelchamber","plugin_committers-aaronbelchamber"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/insert-script.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>With the [insert_script] shortcode, this calls on the absolute path of any script from the path you provide with the \"path=\" attribute.\nIt can also pass along declared variables from a \"vars=\" attribute where you can define GET values in URL safe declarations -- whatever\nthe script you are calling on requires.<\/p>\n\n<p>Now allows \"vals\" and \"strings\" you define with GET URL attribute (var1=value1&amp;var2=value2).\nAlso pass JSON Array via \"json_string\" for properly encoded JSON string arrays which will pass array $json_vals_arr to your script, and passes on \"save_db\" and \"section\" as $save_db and $section variables to whatever values you assign them to your external scripts.\nThis allows a level of back-end integration with code, processes, and data outside of Wordpress.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>insert_script<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>1.3 Added new variables and ability to declare scalable \"json_string\" which will pass $json_vals_arr JSON array to your script too.<\/p>\n\n<p>1.1 No changes made in  past two years and still works with every version of Wordpress to date.<\/p>","raw_excerpt":"With the [insert_script] shortcode you can call on other local code.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/37258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=37258"}],"author":[{"embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aaronbelchamber"}],"wp:attachment":[{"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=37258"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=37258"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=37258"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=37258"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=37258"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=37258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}