Custom Template Page in WordPress

Apr 09, 2012 articles, web design

Adding a custom page template inside WordPress is pretty easy. Just need a little bit of code at the top of the file and you have your very own custom template page you can reference through out your theme. For instance, you want your homepage to be a full width with no side bar. Then you can create a custom template  home page that is full width. You can name it whatever you like, full width might be more appropriate if you are going to use full width through out your website. For the purposes of this post, I have chose to use the naming Home Page.

Once you have the code in place now just a little CSS to set the full width div.

.fullwidth {width:960px; margin: 0 auto;}

Create a new page in WordPress you now have the option to use Home Page as a template giving you a full width page with no sidebar.