{"id":27970,"date":"2014-02-22T09:13:33","date_gmt":"2014-02-22T09:13:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom-code\/"},"modified":"2014-03-02T17:00:55","modified_gmt":"2014-03-02T17:00:55","slug":"custom-code","status":"publish","type":"plugin","link":"https:\/\/pirate.wordpress.org\/plugins\/custom-code\/","author":13605574,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"trunk","tested":"3.7.41","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Custom Code","header_author":"Bhagirath","header_description":"","assets_banners_color":"dce7f7","last_updated":"2014-03-02 17:00:55","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/click2check.net","header_plugin_uri":"http:\/\/www.click2check.net\/wordpress-plugins\/custom-code","header_author_uri":"http:\/\/click2check.net","rating":4,"author_block_rating":0,"active_installs":100,"downloads":8458,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<ul>\n<li>Fixed issue in before content and after content<\/li>\n<\/ul>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"863034","resolution":"1544x500","location":"assets"},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"863034","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.JPG":{"filename":"screenshot-1.JPG","revision":"862953","resolution":"1","location":"assets"},"screenshot-2.JPG":{"filename":"screenshot-2.JPG","revision":"862953","resolution":"2","location":"assets"},"screenshot-3.JPG":{"filename":"screenshot-3.JPG","revision":"862953","resolution":"3","location":"assets"}},"screenshots":{"1":"Add Edit Custom Code.","2":"Manage Custom Code.","3":"How Code look in source code."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[356,2824,2640,1431,1216],"plugin_category":[],"plugin_contributors":[81060],"plugin_business_model":[],"class_list":["post-27970","plugin","type-plugin","status-publish","hentry","plugin_tags-css","plugin_tags-custom-code","plugin_tags-footer","plugin_tags-header","plugin_tags-script","plugin_contributors-bhagirath25","plugin_committers-bhagirath25"],"banners":{"banner":"https:\/\/ps.w.org\/custom-code\/assets\/banner-772x250.jpg?rev=863034","banner_2x":"https:\/\/ps.w.org\/custom-code\/assets\/banner-1544x500.jpg?rev=863034","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-code_dce7f7.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-code\/assets\/screenshot-1.JPG?rev=862953","caption":"Add Edit Custom Code."},{"src":"https:\/\/ps.w.org\/custom-code\/assets\/screenshot-2.JPG?rev=862953","caption":"Manage Custom Code."},{"src":"https:\/\/ps.w.org\/custom-code\/assets\/screenshot-3.JPG?rev=862953","caption":"How Code look in source code."}],"raw_content":"<!--section=description-->\n<p>Add Custom script and CSS code to header, footer,before post,after post.<\/p>\n\n<p>1. You can add custom code at header, but before <\/p>\n\n<p>2. You can add custom code at footer, but before <\/p>\n\n<p>3. You can add custom code before post content, this will display on single page only<\/p>\n\n<p>4. You can add custom code after post content, this will display on single page only<\/p>\n\n<p> You can use plain html, JavaScript and CSS code, but for JavaScript and CSS don't forget to add  and  tag <\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>plugin-name.php<\/code> 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=faq-->\n<p><strong>In which place I can add custom code?<\/strong><\/p>\n\n<p>1. You can add custom code at header, but before <\/p>\n\n<p>2. You can add custom code at footer, but before <\/p>\n\n<p>3. You can add custom code before post content, this will display on single page only<\/p>\n\n<p>4. You can add custom code after post content, this will display on single page only<\/p>\n\n<p><strong>which type of code I can use for custom code?<\/strong><\/p>\n\n<p> You can use plain html, JavaScript and CSS code, but for JavaScript and CSS don't forget to add  and  tag <\/p>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed issue in before content and after content<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Add Custom script and CSS code to header, footer<\/li>\n<\/ul>","raw_excerpt":"Add Custom script and CSS code to header, footer,before post and after post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/27970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=27970"}],"author":[{"embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bhagirath25"}],"wp:attachment":[{"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=27970"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=27970"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=27970"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=27970"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=27970"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pirate.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=27970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}