Having trouble with the conditional sidebar.
I have a News and FAQ pages and both are listed in the config.php
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:
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
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!