{"id":12895,"date":"2011-04-13T13:05:10","date_gmt":"2011-04-13T13:05:10","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/plugin-options-starter-kit\/"},"modified":"2011-12-13T11:28:12","modified_gmt":"2011-12-13T11:28:12","slug":"plugin-options-starter-kit","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/plugin-options-starter-kit\/","author":6138516,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2","stable_tag":"0.2","tested":"3.3.2","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Plugin Options Starter Kit","header_author":"David Gwyer","header_description":"","assets_banners_color":"","last_updated":"2011-12-13 11:28:12","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.presscoders.com\/plugins\/plugin-options-starter-kit\/","header_author_uri":"http:\/\/www.presscoders.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":5431,"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":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.15","0.16","0.17","0.2"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539447","resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539447","resolution":"1","location":"plugin"}},"screenshots":{"1":"Plugin options screen.","2":"Example of using\/testing a Plugin option from the site front end."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,42571,2218,25076],"plugin_category":[],"plugin_contributors":[78335],"plugin_business_model":[],"class_list":["post-12895","plugin","type-plugin","status-closed","hentry","plugin_tags-admin","plugin_tags-kit","plugin_tags-options","plugin_tags-starter","plugin_contributors-dgwyer","plugin_committers-dgwyer"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/plugin-options-starter-kit.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/plugin-options-starter-kit\/trunk\/screenshot-1.png?rev=1539447","caption":"Plugin options screen."},{"src":"https:\/\/ps.w.org\/plugin-options-starter-kit\/trunk\/screenshot-2.png?rev=1539447","caption":"Example of using\/testing a Plugin option from the site front end."}],"raw_content":"<!--section=description-->\n<p><em>Update<\/em> Now includes examples of how to easily use the WordPress editor multiple times on your Plugin options pages! This is implemented via the new re-usable WordPress editor feature in WordPress 3.3.<\/p>\n\n<p>Simple way to learn and set-up your Plugin options pages very quickly!<\/p>\n\n<p>Use it to learn how to set-up Plugin options, or as a template to quickly create you own Plugins. There are lot's of code comments and sample usage of the Plugin options on the front end of your site.<\/p>\n\n<p>Learn the proper way to use the powerful WordPress Settings API, and how to save all your Plugin options in a single options db entry (in an array). This is the recommended way to store your Plugin options as it cleaner and more efficient.<\/p>\n\n<p><em>The starter kit also includes<\/em><\/p>\n\n<ul>\n<li>A useful 'Settings' link from the main Plugins page so that you can easily direct your Plugin users directly to your Plugin options page.<\/li>\n<li>A way to set-up default option settings when the Plugin is activated.<\/li>\n<li>A reset defaults Plugin option which you can use on all your Plugins which allows you to reset options opon Plugin deactivation\/reactivation.<\/li>\n<li>A clean way to delete Plugin options if the Plugin is deactivated AND deleted.<\/li>\n<li>Uses sanitization methods (part of the Settings API) to cleanly validate textbox and textarea inputs.<\/li>\n<\/ul>\n\n<p>All the starter kit code is properly indented to make it easier to read and follow the Plugin structure.<\/p>\n\n<p><em>Coming Soon<\/em><\/p>\n\n<p>Let me know if you have any suggestions to add to the list (or other starter kits you would love to see).<\/p>\n\n<ul>\n<li>Add developer version (without all the comments etc.) to create new Plugins from scratch even quicker!<\/li>\n<li>Examples of adding options to other WordPress admin pages too.<\/li>\n<li>Add Plugin localization.<\/li>\n<li>Extend the default settings callback function so that is allows for Plugin default options to be correctly set if they were added after the Plugin was FIRST activated.<\/li>\n<\/ul>\n\n<p>Please rate the Plugin Options Starter Kit if you find it useful, thanks.<\/p>\n\n<p>See our <a href=\"http:\/\/www.presscoders.com\">WordPress development site<\/a> for more information, or our <a href=\"http:\/\/wordpress.org\/extend\/plugins\/profile\/dgwyer\">other WordPress Plugins<\/a>.<\/p>\n\n<!--section=installation-->\n<p>The Plugin can be installed directly from the main WordPress Plugin page.<\/p>\n\n<ol>\n<li>Go to the Plugins =&gt; Add New page.<\/li>\n<li>Enter 'Plugin Options Starter Kit' (without quotes) in the textbox and click the 'Search Plugins' button.<\/li>\n<li>In the list of relevant Plugins click the 'Install' link for Plugin Options Starter Kit on the right hand side of the page.<\/li>\n<li>Click the 'Install Now' button on the popup page.<\/li>\n<li>Click 'Activate Plugin' to finish installation.<\/li>\n<li>That's it!<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p><em>0.2<\/em><\/p>\n\n<ul>\n<li>Added two more text area controls that use the built-in WordPress editor to render content.<\/li>\n<li>Added a feature that demonstrates how to require a specific version of WordPress (or higher) before the Plugin will run. If the current version of WordPress is not compatible then the Plugin automatically deactivates itself.<\/li>\n<\/ul>\n\n<p><em>0.17<\/em><\/p>\n\n<ul>\n<li>Fixed incorrect image paths.<\/li>\n<\/ul>\n\n<p><em>0.16<\/em><\/p>\n\n<ul>\n<li>Added the escape_html() function around the default textarea text to escape the content properly.<\/li>\n<li>Tested on WordPress 3.2.1.<\/li>\n<\/ul>\n\n<p><em>0.15<\/em><\/p>\n\n<ul>\n<li>Screenshots added!<\/li>\n<\/ul>\n\n<p><em>0.1 Initial Release<\/em><\/p>","raw_excerpt":"Starter kit to help create Plugin options pages, and learn how to put it all together. Contains all the commonly used form options.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12895"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dgwyer"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12895"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12895"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12895"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12895"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12895"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}