{"id":21858,"date":"2013-02-01T21:03:07","date_gmt":"2013-02-01T21:03:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom-sections\/"},"modified":"2016-12-07T20:00:13","modified_gmt":"2016-12-07T20:00:13","slug":"custom-sections","status":"publish","type":"plugin","link":"https:\/\/cor.wordpress.org\/plugins\/custom-sections\/","author":2023087,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.8","stable_tag":"0.4.8","tested":"4.7.33","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Custom Sections","header_author":"W!SSEN","header_description":"","assets_banners_color":"","last_updated":"2016-12-07 20:00:13","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.jeroenvanwissen.nl\/weblog\/wordpress\/custom-sections","header_plugin_uri":"http:\/\/www.jeroenvanwissen.nl\/weblog\/wordpress\/custom-sections","header_author_uri":"http:\/\/jeroenvanwissen.nl\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3249,"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":["0.2","0.3","0.4","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.4.8"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[21534,241],"plugin_category":[43],"plugin_contributors":[89188],"plugin_business_model":[],"class_list":["post-21858","plugin","type-plugin","status-publish","hentry","plugin_tags-posttype","plugin_tags-widgets","plugin_category-customization","plugin_contributors-jvwissen","plugin_committers-jvwissen"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-sections.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Custom Sections is a WordPress plugin that gives you an alternative to the default Widgets. Custom Sections are pieces of content to be used as shortcode or directly in your theme.<\/p>\n\n<p>To use custom template files for sections, files must be named section-templatename.php<\/p>\n\n<h3>TODO's<\/h3>\n\n<ul>\n<li>Create documentation<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the folder <code>custom-sections<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to Settings -&gt; Custom Sections to configure the custom post type to be used as section.<\/li>\n<\/ol>\n\n<p>The custom post type can optionaly be created by the user in the functions.php, or via a plugin that can create custom post types without programming.<\/p>\n\n<!--section=changelog-->\n<h4>0.4.8 (2015-10-6)<\/h4>\n\n<ul>\n<li>Added 'section_exists' function to check if a section exists. Use: if ( section_exists('') ) { .. }<\/li>\n<\/ul>\n\n<h4>0.4.7 (2015-9-17)<\/h4>\n\n<ul>\n<li>Removed check that prevented to have a section in a section. Use at own risk, could cause infinite loading.<\/li>\n<\/ul>\n\n<h4>0.4.6 (2015-8-17)<\/h4>\n\n<ul>\n<li>Fixed: In preparation for supporting PHP7, WordPress 4.3 is deprecating the use of PHP 4 style class constructors. The proper method is to extend WP_Widget in your class and call parent::__construct().<\/li>\n<\/ul>\n\n<h4>0.4.5 (2014-8-25)<\/h4>\n\n<ul>\n<li>Added filter to remove html special chars from the section template filename.<\/li>\n<\/ul>\n\n<h4>0.4.4 (2014-3-20)<\/h4>\n\n<ul>\n<li>Fixed \"Undefined index: internal_post_type\" notice<\/li>\n<\/ul>\n\n<h4>0.4.3 (2014-2-12)<\/h4>\n\n<ul>\n<li>Added slug to sections shortcode &amp; function call<\/li>\n<li>Fixed search for section-{name}.php files in parent\/child setups<\/li>\n<li>Moved all text labels to _e() functions.<\/li>\n<li>section-{name}.php files can now use 'Template Name:' comment header to show human friendly names in popup.<\/li>\n<\/ul>\n\n<h4>0.4.2 (2014-1-4)<\/h4>\n\n<ul>\n<li>Fix in version number<\/li>\n<\/ul>\n\n<h4>0.4.1 (2014-1-4)<\/h4>\n\n<ul>\n<li>Fixes in readme.txt<\/li>\n<\/ul>\n\n<h4>0.4 (2014-1-4)<\/h4>\n\n<ul>\n<li>Added internal custom post type ( 'custom-sections' )<\/li>\n<li>Added template functionality to use custom templates for output<\/li>\n<li>Added template selection in widget<\/li>\n<li>Added button to add section shortcode into content<\/li>\n<li>Fixed settings menu name<\/li>\n<li>Fixed show only published sections in widget<\/li>\n<\/ul>\n\n<h4>0.3 (2013-3-20)<\/h4>\n\n<ul>\n<li>Added Custom Sections Widget<\/li>\n<\/ul>\n\n<h4>0.2 (2013-1-13)<\/h4>\n\n<ul>\n<li>Refactored to Custom Sections<\/li>\n<\/ul>\n\n<h4>0.1.1 (2013-1-31)<\/h4>\n\n<ul>\n<li>Removed Dutch locale<\/li>\n<\/ul>\n\n<h4>0.1 (2013-1-31)<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Custom Sections is a WordPress plugin that gives you an alternative to the default Widgets","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21858"}],"author":[{"embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jvwissen"}],"wp:attachment":[{"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21858"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21858"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21858"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21858"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21858"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cor.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}