{"id":29527,"date":"2014-05-17T07:43:59","date_gmt":"2014-05-17T07:43:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wpc-insert-code\/"},"modified":"2017-05-10T16:44:35","modified_gmt":"2017-05-10T16:44:35","slug":"wpc-insert-code","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wpc-insert-code\/","author":9223948,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"trunk","tested":"4.7.33","requires":"3.9.1","requires_php":"","requires_plugins":"","header_name":"Insert Code by Angie Makes","header_author":"Chris Baldelomar","header_description":"","assets_banners_color":"","last_updated":"2017-05-10 16:44:35","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/angiemakes.com\/feminine-wordpress-blog-themes-women\/","header_author_uri":"http:\/\/angiemakes.com\/","rating":5,"author_block_rating":0,"active_installs":900,"downloads":26300,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"916012","resolution":"1","location":"assets"}},"screenshots":{"1":"Insert Code"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[246,18582,18576,18581,34287],"plugin_category":[59],"plugin_contributors":[78594],"plugin_business_model":[],"class_list":["post-29527","plugin","type-plugin","status-publish","hentry","plugin_tags-html","plugin_tags-insert-css","plugin_tags-insert-html","plugin_tags-insert-javascript","plugin_tags-insert-js","plugin_category-utilities-and-tools","plugin_contributors-cbaldelomar","plugin_committers-cbaldelomar"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wpc-insert-code.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wpc-insert-code\/assets\/screenshot-1.png?rev=916012","caption":"Insert Code"}],"raw_content":"<!--section=description-->\n<p>This plugin makes it easy for you to add custom scripts to the head and footer sections of your site. A theme can also add theme support to enable the insert of custom code (HTML, Javascript, and CSS) at the top of a page, above header, below header, above content, and below content.<\/p>\n\n<p><a href=\"http:\/\/hallie.angiemakes.com\/ad-spots\/\">Live Demo &amp; Documentation<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Uzip the <code>wpc-insert-code.zip<\/code> folder.<\/li>\n<li>Upload the <code>wpc-insert-code<\/code> folder to your <code>\/wp-content\/plugins<\/code> directory.<\/li>\n<li>In your WordPress dashboard, head over to the <em>Plugins<\/em> section.<\/li>\n<li>Activate <em>WP Canvas - Insert Codes<\/em>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Uzip the <code>wpc-insert-code.zip<\/code> folder.<\/li>\n<li>Upload the <code>wpc-insert-code<\/code> folder to your <code>\/wp-content\/plugins<\/code> directory.<\/li>\n<li>In your WordPress dashboard, head over to the <em>Plugins<\/em> section.<\/li>\n<li>Activate <em>WP Canvas - Insert Codes<\/em>.<\/li>\n<\/ol><\/dd>\n<dt>How do I add theme support<\/dt>\n<dd><p>\/\/ Enable support for custom code to be inserted on various sections of theme\n    add_theme_support( 'wpc-insert-code', array( 'top-of-page', 'above-header', 'below-header', 'above-content', 'below-content' ) );<\/p>\n\n<pre><code>&lt;!-- add lines of code in the appropriate section of your theme --&gt;\n&lt;?php do_action( 'wpc_insert_code_top_of_page' ); ?&gt;\n&lt;?php do_action( 'wpc_insert_code_above_header' ); ?&gt;\n&lt;?php do_action( 'wpc_insert_code_below_header' ); ?&gt;\n&lt;?php do_action( 'wpc_insert_code_above_content' ); ?&gt;\n&lt;?php do_action( 'wpc_insert_code_below_content' ); ?&gt;\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>Version 1.2<\/h3>\n\n<ul>\n<li>rebranded<\/li>\n<\/ul>\n\n<h3>Version 1.1<\/h3>\n\n<ul>\n<li>removed static declaration on none static members<\/li>\n<\/ul>\n\n<h3>Version 1.0<\/h3>\n\n<ul>\n<li>Plugin released.  Everything is new!<\/li>\n<\/ul>","raw_excerpt":"Easily insert HTML, Javascript, CSS, into the head and footer areas of your site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/29527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=29527"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cbaldelomar"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=29527"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=29527"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=29527"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=29527"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=29527"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=29527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}