Support » Plugin: Widget Logic » How to not display widget in more than 1 page

Viewing 3 replies - 1 through 3 (of 3 total)
  • ! is_page( array( 'About', 'Another Page', 'Etc.' ) )

    Hi, I have kind of the same problem.

    I have a web page which have multiple languages and I also have a different forms for each landing page of the multiple langages. I try to use ‘Widget Logic’ to assign one form in a determine landing page but for some reason I canĀ“t get it. I give you an example.

    Spanish Form —> in a Spanish Landing Page
    Russian Form —> in a Russian Landing Page
    English Form —> in a English Landing Page

    the theme is that my web is build in a way that I have this kind of url: ZZZ/?lang=ru so when I going to make a code in widget logic such as:

    is_page(‘ZZZ/?lang=ru’) the form appers in all the other landing pages (English and Spanish)

    Can you help with this trouble?

    Try is_page( 'ZZZ' ) && ( $_GET['lang']=='ru' )

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to not display widget in more than 1 page’ is closed to new replies.