Wordpress Page Templates

Discussion in 'Web Design' started by bsl1964, Mar 28, 2012.

to remove all ads.
  1. bsl1964

    bsl1964 New Member

    Messages:
    1
  2. purity

    purity New Member

    Messages:
    21
    page template

    The answer to you question is - it depends on how your particular theme templates are organized, but you can probably create a duplicate of your existing page template, located in:

    wordpress folder/wp-content/themes/your_theme/page-left-sidebar.php

    The page name may be a little different, but will probably have "page" at the beginning.
    Just open that bad boy up in a html editor and remove the "sidebar 2" div.

    Let me know if you need help with it...I'm very reasonable.....:)
     
  3. Brian Angel

    Brian Angel Member

    Messages:
    248
    .... No... Just... *sigh*.. Anyway.. I don't know the template your using but, what you NEED to do is copy page.php in the template folder and rename it to something else ( no sidebar.php). In the page you created will see a PHP call to the header <?php get_header(); ?>. ABOVE that you need to put in the following <?php /* Template Name: No Sidebar */ ?>.

    Now towards the bottom you will see <?php get_sidebar(); ?>, delete it and anything that wraps it. Whatever is wrapping the php code for the_content, give it a class name and set it to the width of the page in the CSS file (i.e. .full{width:960px;}). Again this will depend on the template itself as the boilerplate I created has everything page content wise wrapped in an article for HTML5.

    Save that puppy and pop open WP and go to the page you want to have no sidebar. Under page Attributes, look for templates and select the one for no side bar a WHAMMY.. done. If you don’t see it listed, make sure you create the template name above the get header.
     
    Last edited: Mar 29, 2012
  4. Tippy

    Tippy New Member

    Messages:
    2
    Free wordpress theme

    here is a free wordpress theme developed by http://www.ittrainingnepal.com/.


    Free wordpress theme developed by ittrainingnepal.com. This theme can be used by organizations to develop their website. This WordPress theme is very easy to use. The homepage contains slideshow where featured images can be added. We can also display excerpt of other pages i.e. the main services in the homepage. The theme also supports blog where we can upload regular articles in different sections. The theme has a contact us page to receive feedbacks. This WordPress theme can be used by non profit organizations, private organization to develop their website.


    [​IMG]



    Demo link-http://www.ittrainingnepal.com/wordpress-themes/demo1/

    Author-http://www.ittrainingnepal.com/wordpress-themes/free-wordpress-theme-for-an-organization/
     

Share This Page