Problem with Sidebar

Having trouble with the conditional sidebar.

I have a News and FAQ pages and both are listed in the config.php

['is_page', 'News'],
['is_page', 'FAQ'],

The sidebar doesn’t show up for FAQ but is showing up for News.

Any ideas on why I’m getting different behavior?

try to use the slug and not the title of page:

[‘is_page’, ‘slug’],

this should be working, at least it did for me when i tested it. is the News page maybe set in WordPress Reading Settings as a posts page? if so you’ll have to use 'is_home' in config.php for that.


I tried with title and slug. Neither worked.

Yeah. News is set as the post page. Thanks @slobich! That did it!