{"id":18144,"date":"2012-05-14T14:28:48","date_gmt":"2012-05-14T14:28:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/pg-context-sidebar\/"},"modified":"2021-03-24T10:14:01","modified_gmt":"2021-03-24T10:14:01","slug":"pg-context-sidebar","status":"publish","type":"plugin","link":"https:\/\/kk.wordpress.org\/plugins\/pg-context-sidebar\/","author":8150900,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1","stable_tag":"2.1","tested":"5.6.17","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"PG Context Sensitive Sidebar","header_author":"PeoplesGeek","header_description":"","assets_banners_color":"cbd0d7","last_updated":"2021-03-24 10:14:01","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=BQNMJDVQXFSG2","header_plugin_uri":"http:\/\/www.peoplesgeek.com\/plugins\/context-sensitive-sidebar\/","header_author_uri":"http:\/\/www.peoplesgeek.com","rating":0,"author_block_rating":0,"active_installs":90,"downloads":7387,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"peoplesgeek","date":"2012-05-14 14:33:27"},"1.0.1":{"tag":"1.0.1","author":"peoplesgeek","date":"2012-06-21 09:39:21"},"2.0.0":{"tag":"2.0.0","author":"peoplesgeek","date":"2012-12-18 19:38:40"},"2.0.1":{"tag":"2.0.1","author":"peoplesgeek","date":"2016-07-27 13:25:20"},"2.1":{"tag":"2.1","author":"peoplesgeek","date":"2021-03-24 10:14:01"}},"upgrade_notice":{"1.0.1":"<p>Upgrade to be able to add html markup in the content of the sidebar display<\/p>","1.0.0":"<p>This initial version gets you started and simplifies adding custom content to a sidebar<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1461545,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":544104,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","2.0.0","2.0.1","2.1"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":2502414,"resolution":"2","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":2502414,"resolution":"1","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2502414,"resolution":"3","location":"plugin"}},"screenshots":{"1":"Shows new fields for your sidebar content on the post page","2":"Shows the resulting content in the sidebar for the page","3":"Shows the ability to select the page or post types that allow context sensitive content"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[48740,48739,5177,48738,29014],"plugin_category":[],"plugin_contributors":[83521],"plugin_business_model":[],"class_list":["post-18144","plugin","type-plugin","status-publish","hentry","plugin_tags-content-aware-sidebar","plugin_tags-context-sidebar","plugin_tags-custom-sidebars","plugin_tags-page-sidebar","plugin_tags-post-sidebar","plugin_contributors-peoplesgeek","plugin_committers-peoplesgeek"],"banners":{"banner":"https:\/\/ps.w.org\/pg-context-sidebar\/assets\/banner-772x250.jpg?rev=544104","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/pg-context-sidebar\/assets\/icon-128x128.png?rev=1461545","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/pg-context-sidebar\/trunk\/screenshot-1.png?rev=2502414","caption":"Shows new fields for your sidebar content on the post page"},{"src":"https:\/\/ps.w.org\/pg-context-sidebar\/trunk\/screenshot-2.png?rev=2502414","caption":"Shows the resulting content in the sidebar for the page"},{"src":"https:\/\/ps.w.org\/pg-context-sidebar\/trunk\/screenshot-3.png?rev=2502414","caption":"Shows the ability to select the page or post types that allow context sensitive content"}],"raw_content":"<!--section=description-->\n<p>Use this widget to show content in any sidebar that is related to the current page or post. Have a targeted message or call too action that relates to this page.<\/p>\n\n<ul>\n<li>If the page is advertising a product put details of special deals.<\/li>\n<li>If post is a tutorial then you could put details of prerequisites.<\/li>\n<li>Add a quote relevant to your article that displays in the sidebar.<\/li>\n<\/ul>\n\n<p>Sometimes you want to display a promotion in the sidebar when you display a particular page, or highlight a quote or reference that is particularly relevant - but only to that page.<\/p>\n\n<p>Simply enter the extra content on your page when you create or edit it. Then place the widget into your sidebar where you want it to display.<\/p>\n\n<p>If you don't have content to display for a particular page then the sidebar widget is not shown.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Add extra content to any custom post type - select the types where you want to be able to enter information.<\/li>\n<li>Use html in your content for emphasis, images and links.<\/li>\n<li>Easily copy the content of one context sensitive sidebar page to another<\/li>\n<li>Use one context sensitive sidebar page as a template for others so that changes are instantly reflected everywhere it is used.<\/li>\n<li>Easily identify pages that have context sensitive sidebar information from the 'all pages\/posts' view<\/li>\n<\/ul>\n\n<p>Localisation: if you can provide a translation for the administration text then please get in touch and I will add a translation for the language you provide.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload all the files into your plugins directory<\/li>\n<li>Activate the plugin at the plugin administration page<\/li>\n<li>On each page or post that you want to display context related information enter this into the Context Sidebar meta-box<\/li>\n<li>Add the PG Context Sidebar widget to the sidebar in your theme<\/li>\n<li>Go to settings and select the page types that you want to use with Context Sidebar<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20if%20i%20don%27t%20have%20sidebar%20content%20for%20every%20page'><h3>What if I don't have sidebar content for every page<\/h3><\/dt>\n<dd><p>The sidebar is only shown if there is content to be displayed. If you have no content for the sidebar on a particular page then leave the fields empty<\/p><\/dd>\n<dt id='how%20do%20i%20hide%20the%20meta-box%20for%20some%20post%20types'><h3>How do I hide the meta-box for some post types<\/h3><\/dt>\n<dd><p>The Context Sensitive Sidebar meta box will show in all post types by default. If you want to hide the meta-box for a particular post type then go to the admin page located under Settings and un-tic that post type.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>Version 2.1<\/h4>\n\n<ul>\n<li>Updated Widget constructor to newer PHP version to prevent depreciation warnings in debug log<\/li>\n<li>Tested with WordPress 4.7.5<\/li>\n<li>Bumped and tested with WordPress 5.2.1<\/li>\n<\/ul>\n\n<h4>Version 2.0.1<\/h4>\n\n<ul>\n<li>Tested compatibility with WordPress 3.8.1<\/li>\n<li>Added logic to stop the sidebar icon showing in post types where it had not been selected.<\/li>\n<li>Added the ability to exclude the copy functionality from some post types (was failing for some blogs with a large number of posts)<\/li>\n<\/ul>\n\n<h4>Version 2.0.0<\/h4>\n\n<ul>\n<li>Added the ability to copy from another page\/post<\/li>\n<li>Added the ability to use a page\/post as a template that automatically updates another page\/post<\/li>\n<li>Allow an icon to be shown on the 'all pages' \/ 'all posts' pages so it is easy to see which ones have content entered<\/li>\n<li>Added support for admin language translations (Localization)<\/li>\n<\/ul>\n\n<h4>Version 1.0.1<\/h4>\n\n<ul>\n<li>Fixed filter on 'widget_text' for content and allow line breaks and html in the content<\/li>\n<\/ul>\n\n<h4>Version 1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Show different content in the sidebar for each page or post - great for emphasising related offers, ideas, or quotes","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/18144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=18144"}],"author":[{"embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/peoplesgeek"}],"wp:attachment":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=18144"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=18144"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=18144"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=18144"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=18144"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=18144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}