{"id":165,"date":"2009-11-26T12:53:14","date_gmt":"2009-11-26T20:53:14","guid":{"rendered":"https:\/\/blogs.ubc.ca\/henrylo\/?p=165"},"modified":"2009-11-26T14:28:37","modified_gmt":"2009-11-26T22:28:37","slug":"hide-postsplugins","status":"publish","type":"post","link":"https:\/\/blogs.ubc.ca\/henrylo\/2009\/11\/26\/hide-postsplugins\/","title":{"rendered":"Hide Posts\/Plugins"},"content":{"rendered":"<h1>6.0 Hide posts\/plugins<\/h1>\n<h2>6.1 Introduction<\/h2>\n<p>A key feature that has been implemented in the WordPress plugin check is the option to hide specific plugin checks. By doing this, we allow flexibility for back-end users to show only the plugins that they want to show to front-end users.<\/p>\n<h2>6.2 Instructions to hide plugin checks<\/h2>\n<p>To hide a specific plugin check, the user has to enter in [hidepost] and [\/hidepost] around the plugin they do not want to include.<\/p>\n<p>Example:<\/p>\n<p>If the user wants to hide the Windows Media Player plugin check, they go to the edit post of \u201cMedia\u201d. From here, in the Visual Editor, we add the [hidepost] tag to the front of Windows Media Player tab, and then add [\/hidepost] into the end of the Windows Media Player table, in front of the next tab.<\/p>\n<p>Below is an illustration of the process:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Hidepost1.JPG\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-185\" title=\"Hidepost\" src=\"https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Hidepost1-300x259.jpg\" alt=\"Hidepost\" width=\"477\" height=\"411\" srcset=\"https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Hidepost1-300x259.jpg 300w, https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Hidepost1.JPG 650w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><\/a><\/p>\n<p align=\"center\">\n<p align=\"center\">Figure 10. Hidepost Tags<\/p>\n<p align=\"center\">\n<p align=\"center\"><a href=\"https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Hide-wma-check1.JPG\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-187\" title=\"Hide wma check\" src=\"https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Hide-wma-check1-300x121.jpg\" alt=\"Hide wma check\" width=\"461\" height=\"185\" srcset=\"https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Hide-wma-check1-300x121.jpg 300w, https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Hide-wma-check1.JPG 597w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/a><\/p>\n<p align=\"center\">Figure 11. Hide Windows Media Player<\/p>\n<p>Once the hidepost tags are added, the effect will take place when the user has logged out of the back-end and view the site as a normal user.<\/p>\n<h2>6.3 Instructions to posts<\/h2>\n<p>To hide a post, we can use the hide post option commonly found in every WordPress template.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Check-private-post2.JPG\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-188\" title=\"Check private post\" src=\"https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Check-private-post2-300x92.jpg\" alt=\"Check private post\" width=\"473\" height=\"145\" srcset=\"https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Check-private-post2-300x92.jpg 300w, https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Check-private-post2-1024x317.jpg 1024w, https:\/\/blogs.ubc.ca\/henrylo\/files\/2009\/11\/Check-private-post2.JPG 1095w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/a><\/p>\n<p align=\"center\">Figure 12. Hide Post &#8211; Check Private Post<\/p>\n<p>Checking the \u201cPrivate post\u201d box will hide the post, in this case, \u201cMedia\u201d from normal users.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>6.0 Hide posts\/plugins 6.1 Introduction A key feature that has been implemented in the WordPress plugin check is the option to hide specific plugin checks. By doing this, we allow flexibility for back-end users to show only the plugins that they want to show to front-end users. 6.2 Instructions to hide plugin checks To hide [&hellip;]<\/p>\n","protected":false},"author":1449,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6606],"tags":[],"class_list":["post-165","post","type-post","status-publish","format-standard","hentry","category-wordpress-plugin-check"],"_links":{"self":[{"href":"https:\/\/blogs.ubc.ca\/henrylo\/wp-json\/wp\/v2\/posts\/165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ubc.ca\/henrylo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ubc.ca\/henrylo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/henrylo\/wp-json\/wp\/v2\/users\/1449"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/henrylo\/wp-json\/wp\/v2\/comments?post=165"}],"version-history":[{"count":6,"href":"https:\/\/blogs.ubc.ca\/henrylo\/wp-json\/wp\/v2\/posts\/165\/revisions"}],"predecessor-version":[{"id":184,"href":"https:\/\/blogs.ubc.ca\/henrylo\/wp-json\/wp\/v2\/posts\/165\/revisions\/184"}],"wp:attachment":[{"href":"https:\/\/blogs.ubc.ca\/henrylo\/wp-json\/wp\/v2\/media?parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ubc.ca\/henrylo\/wp-json\/wp\/v2\/categories?post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ubc.ca\/henrylo\/wp-json\/wp\/v2\/tags?post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}