how to make sidebar only appear on posts and not pages in 2013 theme

Hello,

I have been trying to make the secondary sidebar appear on the right hand side of only blog posts and blog type pages... i want my pages to ignore it...

the easiest solution seems to be to comment out <?php //get_sidebar(); ?> in pages.php, the problem is that wordpress still shows it the div area (minus the content) and squishes the_content()

So to summarize, how do I make the sidebar appear in only index/categories/tags/searches/author/ect  but not in pages

I would show you a sample, but my site is live and I dont want it to appear broken
LVL 1
jblayneyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason C. LevineDon't talk to me.Commented:
All of the TwentyX themes come with a full-width template for pages.  When editing the page, look on the right side for the Template metabox and change the template from Default to Full Page or Full Width (the exact language escapes me).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jblayneyAuthor Commented:
Hi Jason,

No templates in the default theme, but I know what you mean.. I ended up coding it myself from scratch and making my own sidebar
Jason C. LevineDon't talk to me.Commented:
You are right...they removed them in TwentyThirteen.  Sheesh...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.