With WordPress 3.61,using a child-theme of TwentyThirteen, I am trying to create a static page template with no sidebar. I have modified and saved a new page php accordingly (renamed the php file, revised the file description and removed “<?php get_sidebar(); ?>” section), using notepad. I have uploaded the new “page-no_sidebar.php” into the child theme directory, and the “no-sidebar”does appear in my Page Attributes Template options list.
When I now select the “no-sidebars” option, my page is now without the sidebar but it loses all the theme coding and appear as plain text aligned left including the footer and not much else. I have a feeling using notepad to edit the file may have caused the problem, or I’m overriding the parent Theme somehow, I’m not certain.
I’ve tried following the other posts regarding this attempt to make a page template without a sidebar in TwentyThirteen, without success and now I’m stuck. Could anyone with experience and/or suggestions with making a static page with no sidebars in TwentyThirteen give a hand? Thanks for opportunity to reach out.
I have found a simpler method to removing sidebars on particular pages by using the Sidebar tool in the Dashboard. Settings – Exposure “Singular and Archive”, Handle “Replace Secondary Widget” and Merge Position “Bottom”. The Sidebar tool allows you to assign the Sidebar style to particular pages, clean and easy. The style will then appear in your Widget settings as well for further customization as required.