Thanks. So, I create pages.php by copying index.php and insert the above code? Or, only replace the code on index.php?
for clarification: I DO want the sidebar to show where it currently is showing. I want to create a new set of pages where the sidebar will not show.