URGENT BUG?: when using regex, the code block is shown in the Entire Website!
-
Hi! Today I found another weird thing, worth fixing.
Correct me if I’m wrong, this is how to reproduce it:
When you need to show a specific piece of code in a given taxonomy, which is not reachable thru the Pages/Posts/Categories tabs, you use URLs or Expressions, right?
There are situations in which you need to measure ecommerce conversions when using plugins like WooCommerce (WC). I need to insert a conversion pixel in the “/shop/order-received/?several_params..” page, where only “shop” is a page, and “order-received” it’s an endpoint, a virtual taxonomy built in by WC.
So, since that URL contain custom params for every purchase, you need to use Expressions. So, the code block must be shown whenever the URL contains “order-received” in the string. Thus, the expression should be:
^https\:\/\/domainname.com\/shop\/order-received\/.+
Looks nice… Except for the fact than when using this, the code block is being shown in THE ENTIRE WEBSITE, actually.
My question is: is this a bug? or the regex is incorrectly written?
- The topic ‘URGENT BUG?: when using regex, the code block is shown in the Entire Website!’ is closed to new replies.