Hide the sidebar for a custom post type


Thanks for this great site! What is the best way to hide the sidebar for a specific custom post type? I just read the Roots Sidebar doc and attempted to disable the sidebar for my movie custom type pages by adding the following to config.php array:

      'is_singular( 'movie' )',

No go! What am I doing wrong?


You’ll find the answer in the passing arguments section of the Roots Sidebar doc.

Booya. Thanks for the help. This is how it ended up:

array('is_singular', 'movie')