[SOLVED] Adding an array to config.php

I’m trying to add my custom post types to the configuration file to stop them from getting sidebar’d.e.g:

array(
  'is_404',
  'is_front_page',
  'is_page',
  'is_post_type_archive',
  'is_singular'
),

That code right there works. But I’m not trying to stop it on all singular pages, just the singular custom post types. That requires is_singular(array(‘one’, ‘two’). Putting that in there doesn’t work.

Any tips?

There’s a section on passing arguments in my post on the Roots sidebar. You need to pass an array;

array(
  'is_404',
  'is_front_page',
  'is_page',
  'is_post_type_archive',
  array('is_singular', array('custom', 'post', 'types'))
),

@foxall Perfect. Thanks.