{"id":159921,"date":"2022-07-13T15:26:37","date_gmt":"2022-07-13T15:26:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/sticky-postbox\/"},"modified":"2022-07-13T15:38:30","modified_gmt":"2022-07-13T15:38:30","slug":"sticky-postbox","status":"publish","type":"plugin","link":"https:\/\/mg.wordpress.org\/plugins\/sticky-postbox\/","author":14535036,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.0","stable_tag":"1.3.0","tested":"6.0.11","requires":"4.4","requires_php":"5.2.4","requires_plugins":"","header_name":"Sticky Postbox","header_author":"Enrico Sorcinelli","header_description":"A WordPress plugin that allow to sticky administration postboxes.","assets_banners_color":"","last_updated":"2022-07-13 15:38:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/sticky-postbox","header_author_uri":"https:\/\/github.com\/enrico-sorcinelli\/sticky-postbox\/graphs\/contributors","rating":0,"author_block_rating":0,"active_installs":20,"downloads":1220,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3.0":{"tag":"1.3.0","author":"enrico.sorcinelli","date":"2022-07-13 15:38:30"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2755921,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2755921,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2755921,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2755921,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Sticky meta box in classic edit post.","2":"Sticky meta box in Dashboard."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[563,434,2218,86,4007],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-159921","plugin","type-plugin","status-publish","hentry","plugin_tags-administration","plugin_tags-dashboard","plugin_tags-options","plugin_tags-post","plugin_tags-sticky","plugin_committers-enricosorcinelli"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sticky-postbox\/assets\/icon-128x128.png?rev=2755921","icon_2x":"https:\/\/ps.w.org\/sticky-postbox\/assets\/icon-256x256.png?rev=2755921","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sticky-postbox\/assets\/screenshot-1.png?rev=2755921","caption":"Sticky meta box in classic edit post."},{"src":"https:\/\/ps.w.org\/sticky-postbox\/assets\/screenshot-2.png?rev=2755921","caption":"Sticky meta box in Dashboard."}],"raw_content":"<!--section=description-->\n<p><strong>Sticky Postbox<\/strong> is a piece of code written few years ago as exercise to learn how WordPress handles administration meta boxes's availables statuses (closed, hidden and sortings).<\/p>\n\n<p>This very lightweight plugin adds the <em>sticky<\/em> feature to administration meta boxes allowing them to be sticky at top right corner of the browser window.<\/p>\n\n<p>Only one meta box can be sticky at once, so a new sticky meta box unstick the current one (if there is one).<\/p>\n\n<h3>Basic Features<\/h3>\n\n<ul>\n<li>Per-user settings.<\/li>\n<li>Multisite support.<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p>Once the plugin is installed and activated you can sticky administration meta boxes using sticky icon (it appears on the top right corner of each box).<\/p>\n\n<h3>API<\/h3>\n\n<h4>Constants<\/h4>\n\n<p>You can use define following constants in your <em>wp-config.php<\/em> file.<\/p>\n\n<p><strong><code>STICKY_POSTBOX_DEBUG<\/code><\/strong><\/p>\n\n<p>Turn on debug messages (also <code>WP_DEBUG<\/code> has to be <code>true<\/code>).\nDefault to <code>false<\/code>.<\/p>\n\n<p><strong><code>STICKY_POSTBOX_GLOBAL_OPTIONS<\/code><\/strong><\/p>\n\n<p>In a Multisite installation, allows to shares user's sticky meta boxes settings across all his sites. For example, if you sticky <em>Publish<\/em> box in editing Pages in a specific site, it will be sticky on all Pages of all sites.\nDefault to <code>false<\/code>.<\/p>\n\n<p><strong><code>STICKY_POSTBOX_AUTOENABLE<\/code><\/strong><\/p>\n\n<p>By default if the plugin has been activated, it starts automatically. \nDefine to <code>false<\/code> if you want to init it manually, for example:<\/p>\n\n<pre><code>\/\/ Activate manually the plugin once all plugin have been loaded.\nadd_action( 'plugins_loaded', function() {\n    \\Sticky_Postbox::get_instance( \n        array(\n            'debug'          =&gt; WP_DEBUG,\n            'global_options' =&gt; false,\n        )\n    );\n} );\n<\/code><\/pre>\n\n<h4>Hooks<\/h4>\n\n<p>Currently the plugin doesn't have actions or filters.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/sticky-postbox<\/code> directory, or install the plugin through the WordPress <em>Plugins<\/em> screen directly.<\/li>\n<li>Activate the plugin through the <em>Plugins<\/em> screen in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20it%20work%20with%20gutenberg%3F'><h3>Does it work with Gutenberg?<\/h3><\/dt>\n<dd><p>This plugin is intended to work with Classic Editor and Dashboards meta boxes.<\/p><\/dd>\n<dt id='does%20it%20work%20with%20multisite%20installation%3F'><h3>Does it work with multisite installation?<\/h3><\/dt>\n<dd><p>Yes<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>For plugin changelog, please see <a href=\"https:\/\/github.com\/enrico-sorcinelli\/sticky-postbox\/releases\">the Releases page on GitHub<\/a>.<\/p>","raw_excerpt":"Add sticky feature to administration meta boxes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/159921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=159921"}],"author":[{"embeddable":true,"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/enricosorcinelli"}],"wp:attachment":[{"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=159921"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=159921"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=159921"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=159921"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=159921"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=159921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}