Hi, Newbie here.
Would like to prevent a widget from appearing on a specific page. I looked at the code below but could not figure it out. Might you have a suggestion?
A PAGE Page
This section refers to WordPress Pages, not any generic webpage from your blog, or in other words to the built in post_type 'page'.
is_page()
When any Page is being displayed.
is_page( 42 )
When Page 42 (ID) is being displayed.
is_page( 'About Me And Joe' )
When the Page with a post_title of "About Me And Joe" is being displayed.
is_page( 'about-me' )
When the Page with a post_name (slug) of "about-me" is being displayed.
is_page( array( 42, 'about-me', 'About Me And Joe' ) )
Returns true when the Pages displayed is either post ID = 42, or post_name is "about-me", or post_title is "About Me And Joe".
is_page( array( 42, 54, 6 ) )
Returns true when the Pages displayed is either post ID = 42, or post ID = 54, or post ID = 6.