Moderator
t-p
(@t-p)
Thread Starter
yeros
(@yeros)
Sorry, i missed this info
We are using custom modification of twentythirteen/ theme (created by our prior webdesigner). It’s a simple, but nice theme based on “twentythirteen” with a basic structure. Header/footer/index/page / page-home/ page-blog/ content/ content-none (etc ) templates. I created 2 templates myself (pages template modifications) and 2 new sidebars, but can’t figure out how can i avoid sidebar in content-none template.
thanks
Moderator
t-p
(@t-p)
can’t figure out how can i avoid sidebar in content-none template.
– When creating a page from wp-admin->Pages, you need to assign a “Template”. If you want to avoid sidebar, then you assin a “Template” which does not have call for the sidebar in it. Until you do that, WordPress will not avoid sidebar. Have you done that?
– If you have not done it, then, while creating/editing pages in the Admin, under “Page Attributes” in the right panel you select a template that does not have call for side bar in it.
– Useful codex: http://codex.ww.wp.xz.cn/Pages http://codex.ww.wp.xz.cn/Codex:Creating_a_New_Page http://codex.ww.wp.xz.cn/Page_Templates
Thread Starter
yeros
(@yeros)
Thanks Tara, but looks like you forgot for which page/content i need such template, for content-none.php
Does the way that you tell me work for content-none page ? I don’t think so.
thank you