{"id":78058,"date":"2017-11-25T14:05:46","date_gmt":"2017-11-25T14:05:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/widget-display-conditions\/"},"modified":"2021-04-22T14:47:11","modified_gmt":"2021-04-22T14:47:11","slug":"widget-display-conditions","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/widget-display-conditions\/","author":9633913,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2.8","stable_tag":"0.2.8","tested":"5.7.15","requires":"4.0.0","requires_php":"5.6.27","requires_plugins":"","header_name":"Widget Display Conditions","header_author":"Maarten Menten","header_description":"Manages widget display by conditions.","assets_banners_color":"","last_updated":"2021-04-22 14:47:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/widget-display-conditions\/","header_author_uri":"https:\/\/profiles.wordpress.org\/maartenm\/","rating":4.8,"author_block_rating":0,"active_installs":300,"downloads":34068,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"MaartenM","date":"2017-11-25 14:07:45"},"0.1.1":{"tag":"0.1.1","author":"MaartenM","date":"2017-11-25 19:41:53"},"0.1.2":{"tag":"0.1.2","author":"MaartenM","date":"2017-11-25 19:57:38"},"0.1.3":{"tag":"0.1.3","author":"MaartenM","date":"2017-11-26 08:51:40"},"0.1.4":{"tag":"0.1.4","author":"MaartenM","date":"2017-11-26 19:41:33"},"0.1.5":{"tag":"0.1.5","author":"MaartenM","date":"2017-11-28 01:16:41"},"0.1.6":{"tag":"0.1.6","author":"MaartenM","date":"2017-11-28 17:43:17"},"0.1.7":{"tag":"0.1.7","author":"MaartenM","date":"2017-11-30 20:25:13"},"0.1.8":{"tag":"0.1.8","author":"MaartenM","date":"2017-12-06 19:29:44"},"0.2.0":{"tag":"0.2.0","author":"MaartenM","date":"2019-04-26 12:32:39"},"0.2.1":{"tag":"0.2.1","author":"MaartenM","date":"2019-05-01 18:33:36"},"0.2.2":{"tag":"0.2.2","author":"MaartenM","date":"2019-05-01 18:51:29"},"0.2.3":{"tag":"0.2.3","author":"MaartenM","date":"2019-05-03 18:14:25"},"0.2.4":{"tag":"0.2.4","author":"MaartenM","date":"2019-05-04 23:54:31"},"0.2.5":{"tag":"0.2.5","author":"MaartenM","date":"2019-05-13 19:45:32"},"0.2.6":{"tag":"0.2.6","author":"MaartenM","date":"2019-05-30 13:10:14"},"0.2.7":{"tag":"0.2.7","author":"MaartenM","date":"2020-06-28 17:56:44"},"0.2.8":{"tag":"0.2.8","author":"MaartenM","date":"2021-04-22 14:47:11"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":1,"5":4},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2519850,"resolution":"1","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2519850,"resolution":"3","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2519850,"resolution":"2","location":"plugin"}},"screenshots":{"1":"Widget form","2":"Widget Settings","3":"Widget Settings with available options"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5106,1578,20095,168,162],"plugin_category":[43],"plugin_contributors":[83766],"plugin_business_model":[],"class_list":["post-78058","plugin","type-plugin","status-publish","hentry","plugin_tags-conditions","plugin_tags-display","plugin_tags-rules","plugin_tags-sidebar","plugin_tags-widget","plugin_category-customization","plugin_contributors-maartenm","plugin_committers-maartenm"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/widget-display-conditions.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/widget-display-conditions\/trunk\/screenshot-1.png?rev=2519850","caption":"Widget form"},{"src":"https:\/\/ps.w.org\/widget-display-conditions\/trunk\/screenshot-2.png?rev=2519850","caption":"Widget Settings"},{"src":"https:\/\/ps.w.org\/widget-display-conditions\/trunk\/screenshot-3.png?rev=2519850","caption":"Widget Settings with available options"}],"raw_content":"<!--section=description-->\n<p>With an easy to use interface you can control on which website page you want a particular widget to be displayed.\nYou can use built-in conditions or create some of your own.<\/p>\n\n<h3>Built-in conditions<\/h3>\n\n<ul>\n<li>post type<\/li>\n<li>post status<\/li>\n<li>post template<\/li>\n<li>post category<\/li>\n<li>post format<\/li>\n<li>post tag<\/li>\n<li>post taxonomy<\/li>\n<li>post<\/li>\n<li>page type (front page, posts page, search page, 404 page, date page, author page, top level page, parent page, child page)<\/li>\n<li>page parent<\/li>\n<li>page template<\/li>\n<li>page<\/li>\n<li>attachment<\/li>\n<li>post type archive<\/li>\n<li>taxonomy archive<\/li>\n<li>author archive<\/li>\n<li>user role<\/li>\n<li>user logged in <\/li>\n<li>user<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>widget-display-conditions<\/code> plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.2.8<\/h4>\n\n<p>Release date: April 22nd, 2021\n* Tested in WordPress 5.7.1<\/p>\n\n<h4>0.2.7<\/h4>\n\n<p>Release date: June 28th, 2020\n* Tested in WordPress 5.4<\/p>\n\n<h4>0.2.6<\/h4>\n\n<p>Release date: May 30th, 2019\n* Fix: - UI: Button 'Display conditions' disappears on widget save.<\/p>\n\n<h4>0.2.5<\/h4>\n\n<p>Release date: May 13th, 2019\n* Tested in WordPress 5.2<\/p>\n\n<h4>0.2.4<\/h4>\n\n<p>Release date: May 5th, 2019\n* Fix: - UI: 'Post Format' values not listed.\n* Enhancement: - UI: List post templates per post type.\n* Enhancement: - UI: Simplified field data structure.\n* Enhancement: - UI: Renamed condition 'param' to 'type'.<\/p>\n\n<h4>0.2.3<\/h4>\n\n<p>Release date: May 3th, 2019\n* Fix - UI: Not showing on 'customize' screen.<\/p>\n\n<h4>0.2.2<\/h4>\n\n<p>Release date: May 1st, 2019<\/p>\n\n<ul>\n<li>Fix - UI: Field selected value was not set correctly. <\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<p>Release date: May 1st, 2019<\/p>\n\n<ul>\n<li>Fix - Database update was available when no previous version was installed.<\/li>\n<li>Fix - UI: Field items not sorted correctly.<\/li>\n<li>Fix - UI: Submit button style.<\/li>\n<li>Enhancement - UI: Confirmation dialog opens when unsaved changes.<\/li>\n<li>Enhancement - UI: Preloading before modal opens.<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<p>Release date: Apr 26th, 2019<\/p>\n\n<ul>\n<li>Enhancement - Redesigned api. (custom functionality needs to be updated)<\/li>\n<li>Enhancement - More hookable.<\/li>\n<li>Enhancement - Plugin data is removed from database on uninstall.<\/li>\n<li>Enhancement - used namespace.<\/li>\n<li>Tested in WordPress 5.1<\/li>\n<\/ul>\n\n<h4>0.1.8<\/h4>\n\n<p>Release date: Dec 6th, 2017<\/p>\n\n<ul>\n<li>Fix - Taxonomy Archive Condition: call to an undefined function is_taxonomy_archive.<\/li>\n<li>Fix - Post Taxonomy Condition: checked only for custom taxonomies. UI supplies all public taxonomies.<\/li>\n<li>Fix - 'sidebars_widgets' hook: list of widgets can also be NULL (from WordPress 4.1.0 to 4.6.0)<\/li>\n<li>Tested in WordPress 4.0 to 4.8<\/li>\n<\/ul>\n\n<h4>0.1.7<\/h4>\n\n<p>Release date: Nov 30th, 2017<\/p>\n\n<ul>\n<li>Enhancement - renamed category id \u2018media\u2019 to \u2019attachment\u2019<\/li>\n<li>Enhancement - provided the ability to set the default operators<\/li>\n<li>Enhancement - added operator \u2019is greater than\u2019<\/li>\n<li>Enhancement - added operator \u2019is less than\u2019<\/li>\n<li>Enhancement - added operator \u2018is greater or equal than\u2019<\/li>\n<li>Enhancement - added operator \u2019is smaller or equal than\u2019<\/li>\n<\/ul>\n\n<h4>0.1.6<\/h4>\n\n<p>Release date: Nov 28th, 2017<\/p>\n\n<ul>\n<li>Fix - UI: 'Page Parent' condition was not listed (non-existing category)<\/li>\n<li>Fix - 'Page Type' condition: undefined variable 'queried_object'<\/li>\n<li>Enhancement - UI: loader displayed when condition data is loading.<\/li>\n<li>Enhancement - added screenshot.<\/li>\n<\/ul>\n\n<h4>0.1.5<\/h4>\n\n<p>Release date: Nov 28th, 2017<\/p>\n\n<ul>\n<li>Fix - UI: 'Post' option did not list all posts except those of type 'page' and 'attachment'. <\/li>\n<li>Enhancement - more OOP.<\/li>\n<li>Enhancement - updated screenshot UI.<\/li>\n<\/ul>\n\n<h4>0.1.4<\/h4>\n\n<p>Release date: Nov 26th, 2017<\/p>\n\n<ul>\n<li>Enhancement - simplified API.<\/li>\n<li>Enhancement - UI: dropdown with search function is only available from a certain amount of options <\/li>\n<\/ul>\n\n<h4>0.1.3<\/h4>\n\n<p>Release date: Nov 26th, 2017<\/p>\n\n<ul>\n<li>Enhancement - UI: added preloader.<\/li>\n<li>Enhancement - UI: cached loaded items.<\/li>\n<li>Enhancement - UI: added author archive.<\/li>\n<li>Test - tested successfully in php 5.6.27<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<p>Release date: Nov 25th, 2017<\/p>\n\n<ul>\n<li>Fix - Rule 'PostAuthor' could not be loaded.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<p>Release date: Nov 25th, 2017<\/p>\n\n<ul>\n<li>Fix - Invalid WordPress readme file.<\/li>\n<li>Enhancement - Grouped rules by category.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<p>Release date: Nov 22nd, 2017<\/p>\n\n<ul>\n<li>First release<\/li>\n<\/ul>","raw_excerpt":"Manages widget display by conditions.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/78058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=78058"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/maartenm"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=78058"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=78058"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=78058"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=78058"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=78058"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=78058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}