{"id":1280,"date":"2022-04-26T12:50:13","date_gmt":"2022-04-26T04:50:13","guid":{"rendered":"https:\/\/leadsleap.com\/blog\/?p=1280"},"modified":"2022-04-26T12:50:14","modified_gmt":"2022-04-26T04:50:14","slug":"now-you-can-customize-form-by-url","status":"publish","type":"post","link":"https:\/\/leadsleap.com\/blog\/now-you-can-customize-form-by-url\/","title":{"rendered":"Now You Can Customize Form By URL"},"content":{"rendered":"\n<p>This is a feature request from Earnie. Here&#8217;s what he wrote:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p><em>As I use the same popupXpert amongst multiple of my wordpress  websites, adding exempts of showing on post\/page id basis won&#8217;t work  for me. Can you add slug \/ permalink recognition?<\/em><\/p><p><em> As I don&#8217;t want to show on for example &#8220;\/about\/&#8221; or &#8220;\/contact\/&#8221;.<\/em><br><\/p><\/blockquote>\n\n\n\n<p>If you have a similar issue, the solution is now available.<\/p>\n\n\n\n<h2>How to customize a Form by URL?<\/h2>\n\n\n\n<p>If you go to the <a href=\"https:\/\/leadsleap.com\/popupxpert\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Form Creator (opens in a new tab)\">Form Creator<\/a> now, you&#8217;ll see a new option called &#8216;<strong>By URL<\/strong>&#8216;   (see arrow 1 below) .<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/leadsleap.com\/members\/tutorial\/popupxpert.manager.19.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>Click <strong>&#8216;By URL&#8217;<\/strong>. A form with 2 fields, denoted by arrow 2 and 3 above, will be shown. <\/p>\n\n\n\n<p><strong>Scenario #1 &#8211; Do not show when URL contains certain phrases <\/strong><\/p>\n\n\n\n<p> For example, if you do not want the Form to show when the URL contains \/about\/ or \/contact\/, enter <\/p>\n\n\n\n<pre class=\"wp-block-verse\"><strong>\/about\/,\/contact\/<\/strong><\/pre>\n\n\n\n<p>in the (arrow 2) field.<\/p>\n\n\n\n<p>(Note that each phrase is separated by a comma.)<\/p>\n\n\n\n<p><strong>Scenario #2 &#8211; Only show when URL contains certain phrases<\/strong><\/p>\n\n\n\n<p>For example, if you want the Form to show only if the URL contains \/blog\/ or ?r=, enter<\/p>\n\n\n\n<pre class=\"wp-block-verse\"><strong>\/blog\/,?r=<\/strong> <\/pre>\n\n\n\n<p>in the (arrow 3) field.<\/p>\n\n\n\n<h2><strong>How the matching is done?<\/strong><\/h2>\n\n\n\n<p>1) The system will match ANY part of the URL against the phrase.<\/p>\n\n\n\n<p>For example, if your objective is to refrain the Form from showing in the &#8216;about&#8217; page, which typically looks like this <strong><em>https:\/\/yourblog.com\/about\/<\/em><\/strong>, you should enter <strong>\/about\/<\/strong> as the match phrase. <\/p>\n\n\n\n<p>If you enter <strong>about<\/strong>, it will match all the URLs with &#8216;about&#8217; in it, such as this:<\/p>\n\n\n\n<p>       <strong><em>yourblog.com\/about-the-latest-traffic-system<\/em><\/strong><\/p>\n\n\n\n<p>2. The match is case insensitive. <\/p>\n\n\n\n<p>This means if you enter <strong>\/about\/<\/strong>, it will match against <strong><em>https:\/\/yourblog.com\/ABOUT\/<\/em><\/strong>.<\/p>\n\n\n\n<p>That&#8217;s all for today. Hope you&#8217;ll find this function useful.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a feature request from Earnie. Here&#8217;s what he wrote: As I use the same popupXpert amongst multiple of my wordpress websites, adding exempts of showing on post\/page id basis won&#8217;t work for me. Can you add slug \/ permalink recognition? As I don&#8217;t want to show on for example &#8220;\/about\/&#8221; or &#8220;\/contact\/&#8221;. If [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[234],"tags":[],"_links":{"self":[{"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/posts\/1280"}],"collection":[{"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/comments?post=1280"}],"version-history":[{"count":9,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/posts\/1280\/revisions"}],"predecessor-version":[{"id":1289,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/posts\/1280\/revisions\/1289"}],"wp:attachment":[{"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/media?parent=1280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/categories?post=1280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leadsleap.com\/blog\/wp-json\/wp\/v2\/tags?post=1280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}