{"id":54161,"date":"2017-02-07T20:39:37","date_gmt":"2017-02-07T20:39:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-site-options\/"},"modified":"2025-04-28T07:29:59","modified_gmt":"2025-04-28T07:29:59","slug":"wp-site-options","status":"publish","type":"plugin","link":"https:\/\/sa.wordpress.org\/plugins\/wp-site-options\/","author":8509166,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"trunk","tested":"6.8.5","requires":"4.0","requires_php":"","requires_plugins":null,"header_name":"Site Options","header_author":"\u0418\u0433\u043e\u0440\u044c \u0422\u0440\u043e\u043d\u044c","header_description":"","assets_banners_color":"171717","last_updated":"2025-04-28 07:29:59","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/hokku","header_plugin_uri":"http:\/\/nebster.net\/en\/plugins\/site-options\/","header_author_uri":"http:\/\/nebster.net","rating":0,"author_block_rating":0,"active_installs":20,"downloads":2021,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"hokku","date":"2017-02-11 14:05:10"},"1.0.2":{"tag":"1.0.2","author":"hokku","date":"2017-02-11 21:24:09"},"1.0.3":{"tag":"1.0.3","author":"hokku","date":"2017-02-24 00:30:44"},"1.0.3.1":{"tag":"1.0.3.1","author":"hokku","date":"2017-02-26 07:21:18"},"1.1.1":{"tag":"1.1.1","author":"hokku","date":"2017-03-05 09:18:58"},"1.2":{"tag":"1.2","author":"hokku","date":"2017-03-05 10:04:20"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":1593979,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":1593979,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1593979,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1593979,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.0.3.1","1.1.1","1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1592582,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1592582,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Define your custom fields in your file function's.","2":"Allow to Settings - Reading and specify field values."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2218,1253,42431,25949,10192],"plugin_category":[],"plugin_contributors":[131199],"plugin_business_model":[],"class_list":["post-54161","plugin","type-plugin","status-publish","hentry","plugin_tags-options","plugin_tags-settings","plugin_tags-settings-page","plugin_tags-site-options","plugin_tags-theme-options","plugin_contributors-hokku","plugin_committers-hokku"],"banners":{"banner":"https:\/\/ps.w.org\/wp-site-options\/assets\/banner-772x250.jpg?rev=1593979","banner_2x":"https:\/\/ps.w.org\/wp-site-options\/assets\/banner-1544x500.jpg?rev=1593979","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-site-options\/assets\/icon-128x128.jpg?rev=1593979","icon_2x":"https:\/\/ps.w.org\/wp-site-options\/assets\/icon-256x256.jpg?rev=1593979","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-site-options\/assets\/screenshot-1.png?rev=1592582","caption":"Define your custom fields in your file function's."},{"src":"https:\/\/ps.w.org\/wp-site-options\/assets\/screenshot-2.png?rev=1592582","caption":"Allow to Settings - Reading and specify field values."}],"raw_content":"<!--section=description-->\n<p>The Site Options plugin is a simple and free product for adding your custom site options on default page Settings -&gt; Reading.\n Just define needed settings in your functions file. <a href=\"http:\/\/nebster.net\/en\/plugins\/site-options\/\" title=\"Site Options instructions\">More instructions<\/a>.<\/p>\n\n<p>Adding your custom options<\/p>\n\n<pre>\n    add_action( 'init', 'custom__site_options', 10 );\n    function custom__site_options(){\n        global $wpto;\n        if ( $wpto )\n        $wpto-&gt;fields = array ( \n            'section_one'   =&gt;  array( array( 'Header - First Settings', 'description will come' ), array(\n                'f_number'  =&gt; array( 'number', 'A Number' ),\n                'f_text'    =&gt; array( 'text', 'Simple text' ),\n                )),\n            'section_two'   =&gt;  array( array( 'Header - Additional settings', 'description will soon' ), array(\n                'f_gallery' =&gt; array( 'gallery', 'Awesome gallery' ),\n                'f_chbox'   =&gt; array( 'checkbox', 'Are u checked?' ),\n                )),\n        );  \n    }\n <\/pre>\n\n<p>Access in the theme files<\/p>\n\n<pre>\n        global $wpto;\n        echo $wpto-&gt;getOption( 'section_one::f_text' ) ;\n <\/pre>\n\n<h4>Field types support<\/h4>\n\n<ul>\n<li>text<\/li>\n<li>textarea<\/li>\n<li>wysiwyg<\/li>\n<li>checkbox<\/li>\n<li>number<\/li>\n<li>select<\/li>\n<li>email<\/li>\n<li>image<\/li>\n<li>gallery<\/li>\n<li>colorpicker<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Just setup and activate the plugin through the 'Plugins - Add' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20create%20settings%20for%20my%20own%20theme%3F'><h3>How do I create settings for my own theme?<\/h3><\/dt>\n<dd><p>Please, <a href=\"http:\/\/nebster.net\/en\/plugins\/site-options\/\" title=\"Site Options instructions\">read instructions<\/a>.<\/p><\/dd>\n<dt id='what%20types%20options%20are%20available%20to%20use%3F'><h3>What types options are available to use?<\/h3><\/dt>\n<dd><ul>\n<li>text<\/li>\n<li>textarea<\/li>\n<li>wysiwyg<\/li>\n<li>checkbox<\/li>\n<li>select<\/li>\n<li>number<\/li>\n<li>email<\/li>\n<li>image<\/li>\n<li>gallery<\/li>\n<li>colorpicker<\/li>\n<\/ul>\n\n<p>You can define custom fieldtype by special filter, if no one this types was detected, see inc\/fields.php, filter 'wpto_echo_field'.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.1 - 05\/03\/17<\/h4>\n\n<ul>\n<li>GALLERY field type henceforth return array instead string<\/li>\n<\/ul>\n\n<h4>1.2 - 05\/03\/17<\/h4>\n\n<ul>\n<li>SELECT field type added<\/li>\n<li>Added ability to request clear field value without filtering<\/li>\n<li>Bugs fix<\/li>\n<\/ul>\n\n<h4>1.1 - 26\/02\/17<\/h4>\n\n<ul>\n<li>Added default values<\/li>\n<\/ul>","raw_excerpt":"The Site Options plugin is a simple and free product for adding your custom site options on default page Settings -&gt; Reading.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/54161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=54161"}],"author":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hokku"}],"wp:attachment":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=54161"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=54161"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=54161"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=54161"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=54161"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=54161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}