{"id":3293,"date":"2015-06-18T22:10:09","date_gmt":"2015-06-18T22:10:09","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=3293"},"modified":"2017-01-22T06:17:51","modified_gmt":"2017-01-22T06:17:51","slug":"matches-condition","status":"publish","type":"post","link":"https:\/\/www.minisoft.com\/support\/matches-condition\/","title":{"rendered":"Matches Condition"},"content":{"rendered":"<p>The <em>Matches<\/em> condition takes an action by comparing two strings of characters. For example, placing a logo based on an exact match of a string of characters:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3294\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches1.png\" alt=\"matches1\" width=\"298\" height=\"242\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches1.png 298w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches1-150x122.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches1-250x203.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches1-222x180.png 222w\" sizes=\"(max-width: 298px) 100vw, 298px\" \/><\/a><\/p>\n<p>In this instance, there are three variables, each containing a different string of characters. There is also a variable which has an image from a file. If the image is placed using a rule, right-click <em>Rule &gt; Add AND Condition &gt; Matches<\/em>:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3295\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches3.png\" alt=\"matches3\" width=\"399\" height=\"243\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches3.png 399w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches3-300x183.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches3-150x91.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches3-250x152.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches3-296x180.png 296w\" sizes=\"(max-width: 399px) 100vw, 399px\" \/><\/a><\/p>\n<p>If placed using the Document Template, right-click <em>Content &gt; Add AND Condition &gt; Matches<\/em>:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3296\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches2.png\" alt=\"matches2\" width=\"417\" height=\"291\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches2.png 417w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches2-300x209.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches2-150x105.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches2-250x174.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches2-258x180.png 258w\" sizes=\"(max-width: 417px) 100vw, 417px\" \/><\/a><\/p>\n<p>Set the condition and select OK. In this example, if <em>Sample2<\/em> matches <em>Sample3<\/em>, the image will place:<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3297\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches4.png\" alt=\"matches4\" width=\"537\" height=\"265\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches4.png 537w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches4-300x148.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches4-150x74.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches4-250x123.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2015\/06\/matches4-365x180.png 365w\" sizes=\"(max-width: 537px) 100vw, 537px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Matches condition takes an action by comparing two strings of characters. For example, placing a logo based on an exact match of a string of characters: In this instance, there are three variables, each containing a different string of characters. There is also a variable which has an image from a file. If the [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66,3],"tags":[49],"_links":{"self":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3293"}],"collection":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=3293"}],"version-history":[{"count":4,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3293\/revisions"}],"predecessor-version":[{"id":4568,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3293\/revisions\/4568"}],"wp:attachment":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=3293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=3293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=3293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}