• Resolved pistolero

    (@pistolero85)


    Hello
    Thank you for a nice plugin. I’m using Oxygen builder and WPCode. I have a script that I want to insert in Site Wide Footer.

    This script is conflicting with Oxygen builder editor so I need to hide it when I’m working in editor.
    In conditional logic I was trying to use: Hide -> This code snippet if -> Page URL -> Contains -> ct_builder (also tried: ct_builder=true, ct_inner=true) – No Luck. The script seems not hidden.

    BUT. If I run Hide -> This code snippet if -> Logged-In -> is -> true – works like a charm. The script is not running and I can work in Oxygen Builder.

    Can you please tell me what I’m doing wrong?
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @pistolero85,

    Thank you for your feedback, we’re happy to hear you like the plugin!

    Regarding the rule you are trying to use, it won’t work in the current version due to the way WPCode checks the URL based on the WordPress request object to avoid conflicting values. This is aimed at targeting specific page slugs/page URLs and not query params like Oxygen is using. There are many situations where you want to target a page but ignore the query params, for example, Facebook adds a fbclid parameter to all the URLs it links to for tracking purposes, if the rule would consider those, a strict comparison like “Url [is] example.com/page”, would cause a lot of confusion.

    I made a note to look into the options we have to allow more flexibility in the URL rules.

    Thread Starter pistolero

    (@pistolero85)

    Thank you for the quick answer. I hope you will implement such functionality in next releases.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Oxygen Builder hide snippet in editor’ is closed to new replies.