Home Forums Plugins WooCommerce Notification Assign conditional tags not working

Assign conditional tags not working

  • Author
    Posts
  • #174822

    trxtraveller
    Participant

    Hi there

    I’m trying to use the conditional tags to only show notifications on specific pages. I have tried all of the below but none work.

    The plugin works fine when no ‘assign tags’ are set but it displays on every page, I would only like it to display on selected pages. Here’s what I have tried in the assign box which haven’t worked:

    !is_page(array(238929,11486,15388,240831,240784,11308,11658,11700,12127,12141,12189,13461,14610,17439,18063,233562,241492,239034,238288,238172,238103))

    is_home()

    is_woocommerce()

    I have the latest plugin version

    Please can you tell me why it’s not working?

    Thank you

You must be logged in to see replies to this topic. Click here to login or register