Custom WP Sidebar Question?? - Can You Answer This...

7 replies
You know when creating a page within the WordPress platform, you have the option to make the page full width, do you know of a plug-in or something that will all me to do that for individual posts.

The reason why I want to remove the widget bar from some posts is to have more room. Now I know I can remove all my widgets, but I want to have the option to go full width in individual posts, just like you can do with pages in WordPress.
#answer #custom #question #sidebar
  • Profile picture of the author webapex
    You can select the Template for individual pages, (duplicate the standard page php file and strip out code) There are a few plugins that allow modification of navigation, allowing wp pages or outside html pages to be mixed with posts, Easy Post Types might help.
    Signature

    “An expert is a person who has made all the mistakes that can be made in a very narrow field” Niels Bohr

    {{ DiscussionBoard.errors[3105512].message }}
  • my bad. delete. misread intent of poster.
    {{ DiscussionBoard.errors[3105632].message }}
  • Profile picture of the author mywebwork
    Just select a different template for the posts you want to display without the sidebar.

    If your theme doesn't have a selection of templates they are simple to make.

    Stepping Into Templates « WordPress Codex

    How To Create A Custom WordPress Page Template

    Bill
    {{ DiscussionBoard.errors[3105645].message }}
  • Profile picture of the author cma01
    If you want to be able to select an individual template for posts like you can for pages, there is a plugin called Custom Post Templates that will allow you to do this.

    Just add this to the heading of any file you want to use as a post template.

    Code:
    <?php
    /*
    Template Name Posts:  Template Name Here
    */
    ?>
    Then you will have the option to select the template from the post editing screen just as you do with pages.
    Signature
    "Wise men talk because they have something to say; fools, because they have to say something."
    ~ Plato
    {{ DiscussionBoard.errors[3106095].message }}
  • Profile picture of the author Istvan Horvath
    Reading the OP always helps: the question was regarding custom post templates NOT Page templates

    Actually, even post templates are possible and the easiest way in WP 3.x is to use custom post-types and templates associated with them.

    If you understand how that works, my free report (first link in sig) should be enough to get you going...
    Signature

    {{ DiscussionBoard.errors[3106853].message }}
  • Profile picture of the author cma01
    Reading the OP always helps: the question was regarding custom post templates NOT Page templates
    I did read it, and that plugin will allow you to have custom post templates. It's the easiest way I've found without a bunch of conditionals.

    To make any page template work for posts as well, all you have to do is enable that plugin and then add that code to I posted to the page template and it will be available for posts as well.
    Signature
    "Wise men talk because they have something to say; fools, because they have to say something."
    ~ Plato
    {{ DiscussionBoard.errors[3109562].message }}

Trending Topics