wordpress warriors - need a static page on my Blog but not the home page

by Maddi
13 replies
  • WEB DESIGN
  • |
Hello fellow warriors,

I've been through various tutorials and bought a wso as well but that doesn't help me with my question. So here I am for help :-)

I need to have a static page [squeeze page] in my wordpress blog but every tutorial i've been through shows how to set up your home page as a static page and the rest of the pages as a Blog but what if I don't want my home page as a static page but another page as a static page.

I hope i make my question clear. This has been an issue for a while now and contributes to procrastination as I can't progress without it.

Can it be done at the first place? or only home pages are allowed to be set up as static pages?

If a normal page[not a home page] can be set as a static page please guide in this regard.

Any help is appreciated.

Thanks.
Maddi
#blog #home #page #static #warriors #wordpress
  • Profile picture of the author M.A.D
    From the admin panel
    Go to pages. Add new page. Publish page.
    Thats it.
    {{ DiscussionBoard.errors[1881910].message }}
  • Profile picture of the author Maddi
    and that would be a static page ? like with no side bars or any columns?
    {{ DiscussionBoard.errors[1881970].message }}
  • Profile picture of the author M.A.D
    Ooh i see.
    You would have to go themes, edit theme, then remove sidebar calls from page.php;
    <?php get_sidebar(); ?>
    That will stop the bars from loading.
    Please note that it will stop loading the sidebar on all static pages.
    And maybe you would have to change the width of the post column in the css file.
    So that it fills the spot that the sidebar left behind.
    {{ DiscussionBoard.errors[1882047].message }}
  • Profile picture of the author n7 Studios
    Maddi,

    Depends on your theme. Some themes provide additional templates when adding / editing a Page, which will include templates that don't display the sidebar. But until we know precisely what theme you're using, we can't answer that question.

    Alternatively, you may wish to find a plugin that specialises in squeeze page creation. Wordpress Squeeze Page Plugin :WP Squeezepage.com (non-affiliate link) will let you have a squeeze or sales page (full disclosure: I helped the product creator develop this plugin, there are others available but I haven't tried them).

    Definately worth checking out the videos on the site, to see how simple the install / creation process is.

    Tim.
    {{ DiscussionBoard.errors[1882065].message }}
  • Profile picture of the author Desaturator
    If you want to have a static page that displays information in some different fashion than other pages. Then you need to create a custom_page.php file or you can name it what ever you want. And then goto WP Admin panel. In there create a new page and then In the right side of the page creation page you can see an option that says choose the template for the page. Just select the custom_page.php (or the name you created the file with) and publish the page. This way you can create a static page with different look and feel than other pages of your blog.

    Cheers!
    {{ DiscussionBoard.errors[1882151].message }}
  • Profile picture of the author Maddi
    Thanks Desaturator,

    But a few questions. After I create the file custom_page.php what do i do with it?
    Also when I create a new page the only thing I see on my right as you mentioned is Publish menu and Attributes menu. I can't find any option to choose a template for the page.

    Thanks for the reply though.
    {{ DiscussionBoard.errors[1883837].message }}
  • Profile picture of the author Desaturator
    You need create that file in the directory of the theme you are currently using.

    To understand more about page templates please check this page.

    Code:
    hxxp://codex.wordpress.org/Pages#Page_Templates
    And after you create the page template then you can see an option to select the page template in your admin panel as follows:

    Code:
    hxxp://i41.tinypic.com/34yenwh.jpg
    Sorry, I can't post directly images and links as my post count is not sufficient.
    {{ DiscussionBoard.errors[1887584].message }}
    • Profile picture of the author Aussie Dazzler
      Hi Maddi,

      You can create a page ( static ) and then have it appear in your menu in whichever order you want.

      As for sidebars or widgets not showing on a certain page i have been using a plugin *** deselective menus**** something like that.

      I will go find the exact name if this will solve your problem.

      If you need any further help please contact me.

      You can get me through the link in my signature.
      {{ DiscussionBoard.errors[1887616].message }}
      • Profile picture of the author Maddi
        Originally Posted by Desaturator View Post

        You need create that file in the directory of the theme you are currently using.

        To understand more about page templates please check this page.

        Code:
        hxxp://codex.wordpress.org/Pages#Page_Templates
        And after you create the page template then you can see an option to select the page template in your admin panel as follows:

        Code:
        hxxp://i41.tinypic.com/34yenwh.jpg
        Sorry, I can't post directly images and links as my post count is not sufficient.
        I will read through that and see what I can do. Maybe changing hxxp to http might help in posting here ;-)

        Originally Posted by bobbyd67 View Post

        Hi Maddi,

        You can create a page ( static ) and then have it appear in your menu in whichever order you want.

        As for sidebars or widgets not showing on a certain page i have been using a plugin *** deselective menus**** something like that.

        I will go find the exact name if this will solve your problem.

        If you need any further help please contact me.

        You can get me through the link in my signature.
        Let me see if i can work it out and will report back with progress

        thanks everyone
        {{ DiscussionBoard.errors[1887703].message }}
  • {{ DiscussionBoard.errors[1890023].message }}
    • Profile picture of the author Testy Today
      Hi,

      I appreciate learning the information in this thread too.

      I think my question is related. I want to have posts that have no date/time on them.

      Is the way to do that to create a "page" instead of a "post"? (As M.A.D. wrote on 3/18)

      Thanks, too.
      {{ DiscussionBoard.errors[1916556].message }}
      • Profile picture of the author blogginvixen
        Originally Posted by Testy Today View Post

        Hi,

        I appreciate learning the information in this thread too.

        I think my question is related. I want to have posts that have no date/time on them.

        Is the way to do that to create a "page" instead of a "post"? (As M.A.D. wrote on 3/18)

        Thanks, too.
        You actually have to get hands-on with your .php files and remove the lines of code that are calling on the date and time.

        So, if you go to Appearance-->Editor-->(look to your right hand side under "Templates" and in most cases its page.php) simply look for a line of code similar to:

        <?php the_time('F jS, Y') ?> | <b>Author:</b> <?php the_author_posts_link(); ?>
        ...and delete it.

        That takes care of the date appearing on your pages. You can do the same for your posts too, and that is usually found in the single.php file.
        {{ DiscussionBoard.errors[1916593].message }}
        • Profile picture of the author Testy Today
          Very swell! Thanks loads. I will do this.
          {{ DiscussionBoard.errors[1916979].message }}

Trending Topics