• Hello

    My question is about Content-none page. My website template have a such structure Header+content+sidebar+footer, and it works, but if user got 404 error (content-none template), and content area is empty my sidebar overlapped the footer. I think that in this case the best solution will be to show content-none template w/o sidebar. (or there are other ways to avoid this overlapping).
    Is there any way to remove sidebar when it shows content-none template?

    thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    – What theme are you using currently?
    – Where did you download ir from?
    http://codex.ww.wp.xz.cn/Forum_Welcome#Include_as_Much_Information_as_Possible

    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

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Content-none.php template and sidebar’ is closed to new replies.