Viewing 1 replies (of 1 total)
  • Hello,

    Try to use it separately and check it works or not –

    if ( is_singular( 'post1') || is_singular( 'post2') || is_archive( 'archive1' ) || is_archive( 'archive2' ) )

Viewing 1 replies (of 1 total)
  • The topic ‘Remove sidebar from custom post type and archive’ is closed to new replies.