{"id":85625,"date":"2018-05-12T05:07:21","date_gmt":"2018-05-12T05:07:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ele-conditions\/"},"modified":"2018-11-22T10:28:36","modified_gmt":"2018-11-22T10:28:36","slug":"ele-conditions","status":"closed","type":"plugin","link":"https:\/\/ky.wordpress.org\/plugins\/ele-conditions\/","author":13647991,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.5","stable_tag":"trunk","tested":"4.9.29","requires":"4.6","requires_php":"","requires_plugins":"","header_name":"Ele Conditions","header_author":"Liviu Duda","header_description":"Elementor conditions for elements and widgets.","assets_banners_color":"a57fb7","last_updated":"2018-11-22 10:28:36","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/dudaster","header_plugin_uri":"https:\/\/www.eletemplator.com","header_author_uri":"https:\/\/www.leadpro.ro","rating":5,"author_block_rating":0,"active_installs":4000,"downloads":35576,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"4"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1873034","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1873034","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1873034","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1873034","resolution":"1","location":"assets"}},"screenshots":{"1":"\/assets\/screenshot-1.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[16935,4060,164645,76538,1084],"plugin_category":[43],"plugin_contributors":[82305],"plugin_business_model":[],"class_list":["post-85625","plugin","type-plugin","status-closed","hentry","plugin_tags-condition","plugin_tags-conditional","plugin_tags-conditional-elements","plugin_tags-elementor","plugin_tags-page-builder","plugin_category-customization","plugin_contributors-dudaster","plugin_committers-dudaster"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ele-conditions_a57fb7.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/ele-conditions\/assets\/screenshot-1.jpg?rev=1873034","caption":"\/assets\/screenshot-1.png"}],"raw_content":"<!--section=description-->\n<p>This plugin adds the ability to add conditions to sections and widgets in order to be shown or not.<\/p>\n\n<p>You can add your own values in your function.php using add_filter().<\/p>\n\n<p>This plugin is currently pretty basic, you can only use only 2 operands (variables) and one operator (the stuff beetwen to values in a condition). No brackets and no AND \/ OR operators for now.<\/p>\n\n<p>The <em>Custom Fields<\/em> are preloaded in plugin, so all you need is to enter the slug and it will work. If you're not sure they work please check <em>Debug mode<\/em> and the variable should be replaced with the value.<\/p>\n\n<p>The Condition field can be found in last section in <em>Style tab<\/em> of a widget.<\/p>\n\n<p>For more details and examples check our official site https:\/\/www.eletemplator.com\/<\/p>\n\n<p>Note: This plugin is an addon of Elementor Page Builder (https:\/\/wordpress.org\/plugins\/elementor\/) and will only work with Elementor Page Builder installed.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/plugin-name<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I quit is too complicated! Is there a documentation for this?<\/dt>\n<dd><p>Indeed the plugin is more dev oriented, that means it has a learning curve to it. On the other side you can achieve pretty much everything you need with it. For questions and examples please refer to https:\/\/www.eletemplator.com\/ and search for the plugin.<\/p><\/dd>\n<dt>Where can I find the Condition field?<\/dt>\n<dd><p>The Condition field can be found in last section in Style tab of a widget.<\/p><\/dd>\n<dt>Can I use complex conditions?<\/dt>\n<dd><p>No. For the moment you can only do a basic condition with 2 operands and 1 comparison operator.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Now it set the value of variabile to 0 if is compared to a number.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fixed bugs.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fix notice errors.<\/li>\n<li>Works with var == null when variable doesn't have value.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fix sections with the latest Elementor version.<\/li>\n<li>Hide the widget wrapper.<\/li>\n<li>Debug mode will show a semi-opaque, bordered in red, content for editors and administrators.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added debug mode - seen only by admin and editor<\/li>\n<li>Fix by @hakkow to work with sections<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Launch<\/li>\n<\/ul>","raw_excerpt":"Some elements in Elementor should not be displayed or must be displayed under certain conditions. Implement conditional logic on Elementor elements.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/85625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=85625"}],"author":[{"embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dudaster"}],"wp:attachment":[{"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=85625"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=85625"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=85625"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=85625"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=85625"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ky.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=85625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}