Home Forums Plugins CURCY – WooCommerce Multi Currency Conditional Tags not working for all pages

Conditional Tags not working for all pages

  • Author
    Posts
  • #181494

    Colleen-Joy Page
    Participant

    Hi, I am using Conditional Tags for my WordPress, Learndash, BuddyBoss theme site. I’m struggling to remove the Currency Bar from all the pages that I need to.

    When I use IDs like this:

    !is_page( array( 1, 2, 3, 7, 8, 9, 10, 11, 12, 16, 17, 21, 22, 24, 25, 53, 54, 55, 57, 58, 97, 900, 200, 2034, 2220, 2214, 2393 ) )

    The WordPress pages listed work – the bar is disabled. However pages that have subpages, like this one https://coach.innerlifeskills.com/courses/saycoach-leader-as-coach/ don’t disable even when I list their page id’s.

    I want to disable courses and members.

    I have tried things like:

    !is_courses()
    and !is_members()

    but this activates all pages to display the bar again even if I add this to the page array list like above.

    Please send instructions. please give me an example of a page array list with site page and subpages like courses, where I don’t have page IDs.

    Thanks

    Colleen

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