{"id":3746,"date":"2020-07-31T16:07:09","date_gmt":"2020-07-31T15:07:09","guid":{"rendered":"https:\/\/blogs.kent.ac.uk\/webdev\/?p=3746"},"modified":"2020-08-06T12:45:38","modified_gmt":"2020-08-06T11:45:38","slug":"new-hidden-blocks-on-content-pages","status":"publish","type":"post","link":"https:\/\/blogs.kent.ac.uk\/webdev\/2020\/07\/31\/new-hidden-blocks-on-content-pages\/","title":{"rendered":"New hidden blocks on content pages"},"content":{"rendered":"<p class=\"lead\">We&#8217;ve added a new feature to Site Editor content pages which allows you to hide a block.<\/p>\n<p>This is useful if you need to prepare information that is not ready to be published.<\/p>\n<p>Click the &#8216;Hide this block from the website&#8217; switch. This lets you hide this block from both preview and the published versions of this page.<\/p>\n<p>You will still be able to see the block in Site Editor, but it is slightly greyed out and outlined and has a &#8216;hidden block&#8217; label on it.<\/p>\n<p>When you&#8217;re ready to publish the content, you can simply unhide the block by turning off the switch.<\/p>\n<p><a href=\"https:\/\/blogs.kent.ac.uk\/webdev\/files\/2020\/07\/hidden-block.jpg\"><img loading=\"lazy\" class=\"alignnone size-large wp-image-3747\" src=\"https:\/\/blogs.kent.ac.uk\/webdev\/files\/2020\/07\/hidden-block-1024x677.jpg\" alt=\"Site Editor screenshot showing how to hide a block\" width=\"1024\" height=\"677\" srcset=\"https:\/\/blogs.kent.ac.uk\/webdev\/files\/2020\/07\/hidden-block-1024x677.jpg 1024w, https:\/\/blogs.kent.ac.uk\/webdev\/files\/2020\/07\/hidden-block-300x198.jpg 300w, https:\/\/blogs.kent.ac.uk\/webdev\/files\/2020\/07\/hidden-block-768x508.jpg 768w, https:\/\/blogs.kent.ac.uk\/webdev\/files\/2020\/07\/hidden-block.jpg 1273w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve added a new feature to Site Editor content pages which allows you to hide a block. This is useful if you need to prepare &hellip; <a href=\"https:\/\/blogs.kent.ac.uk\/webdev\/2020\/07\/31\/new-hidden-blocks-on-content-pages\/\">Read&nbsp;more<\/a><\/p>\n","protected":false},"author":17235,"featured_media":3748,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[79486,79485],"tags":[79486,79485],"_links":{"self":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts\/3746"}],"collection":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/users\/17235"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/comments?post=3746"}],"version-history":[{"count":3,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts\/3746\/revisions"}],"predecessor-version":[{"id":3751,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/posts\/3746\/revisions\/3751"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/media\/3748"}],"wp:attachment":[{"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/media?parent=3746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/categories?post=3746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.kent.ac.uk\/webdev\/wp-json\/wp\/v2\/tags?post=3746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}