{"id":12541,"date":"2011-03-14T13:48:30","date_gmt":"2011-03-14T13:48:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/chunks\/"},"modified":"2011-06-17T19:26:27","modified_gmt":"2011-06-17T19:26:27","slug":"chunks","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/chunks\/","author":1217817,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"3.1.4","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Chunks","header_author":"Konstantin Kovshenin","header_description":"","assets_banners_color":"","last_updated":"2011-06-17 19:26:27","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/kovshenin.com\/wordpress\/plugins\/chunks\/","header_plugin_uri":"http:\/\/kovshenin.com\/wordpress\/plugins\/chunks\/","header_author_uri":"http:\/\/kovshenin.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3676,"num_ratings":0,"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":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1539234","resolution":"1","location":"plugin"}},"screenshots":{"1":"The Theme Chunks screen"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[17504,1141,2474],"plugin_category":[],"plugin_contributors":[78942],"plugin_business_model":[],"class_list":["post-12541","plugin","type-plugin","status-publish","hentry","plugin_tags-chunks","plugin_tags-theme","plugin_tags-utility","plugin_contributors-kovshenin","plugin_committers-kovshenin"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/chunks.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/chunks\/trunk\/screenshot-1.jpg?rev=1539234","caption":"The Theme Chunks screen"}],"raw_content":"<!--section=description-->\n<p>Chunks is for theme developers that have their themes filled with footer notes, copyright notices, block titles and descriptions, slogans, etc, which are sometimes hard-coded into the theme, sometimes localized (can be changed in po and mo files) and sometimes taken out to the theme options.<\/p>\n\n<p>Chunks will do the job for you. A \"chunk\" is a piece of HTML code that could be inserted anywhere in your theme and edited from the Theme Chunks page under Appearance in your admin panel. Use register_chunks() in your functions.php to register chunks for your theme and use the chunk() to get the chunk value anywhere in your template files.<\/p>\n\n<p>It'll take you 5 minutes to implement Chunks in your theme: <a href=\"http:\/\/kovshenin.com\/wordpress\/plugins\/chunks\/\" title=\"Getting Started with Chunks\">Getting Started with Chunks<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload archive contents to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Modify your theme to <a href=\"http:\/\/kovshenin.com\/wordpress\/plugins\/chunks\/\" title=\"implement chunks\">implement chunks<\/a>.<\/li>\n<li>Look for the 'Theme Chunks' option under your 'Appearance' menu.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Can I use chunks in my posts or pages?<\/dt>\n<dd><p>Of course, try out the chunk shortcode!<\/p><\/dd>\n<dt>Can I use HTML in my Chunks?<\/dt>\n<dd><p>Yes.<\/p><\/dd>\n<dt>Can I use Javascript in my Chunks?<\/dt>\n<dd><p>Yes, but be careful.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Chunk shortcode implemented<\/li>\n<li>Cleanup and coding style<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Chunks went from personal project to public!<\/li>\n<\/ul>","raw_excerpt":"Chunks is about managing tiny bits of content on your WordPress site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12541"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kovshenin"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12541"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12541"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12541"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12541"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12541"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}