Forums

Different needs on static + blog pages How? (5 posts)

  1. ora8i
    Member
    Posted 1 year ago #

    Hi All.

    I've had a look around but not realy found an answer to my issue.

    What I want is to use WP as a CMS to create a site with static pages and a blog.

    Problem:-

      I don't want the static pages to display the bloggy stuff

    like catagories, edit, tags, blogrole etc. It's easy enough to do that by editing a theme but

      I will want the blog functions on the blog pages.

    So static pages to look like a traditipnal site and blog pages to look like a blog.

    How do I do it? It would be easy if I could use two themes or if I had skills with php n css but I lack them.

    WP MU has been sugested, I've never used it would it work? Is it as hard to set up as it seems?

    Many thanks Ora

  2. You can do this with one theme. As you said, it's easy to do by editing the theme :) Design a page template and use that. Done :)

  3. Samuel B
    moderator
    Posted 1 year ago #

    hmmm...you could make your own page template to use for the static pages - like download and copy the theme's page.php and rename it to what you want - then edit it to take out the "bloggy" stuff -save it and upload it to your theme folder.
    you can then select that template when you create a page
    note - you will have to make a header for the new page you create, so here are detailed instructions
    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

    edit - got smoked

  4. ora8i
    Member
    Posted 1 year ago #

    I'm not sure I have grasped this.

    Are you saying that static pages are generated by a file in the theme folder called page.php and I can edit that to control the look of staatic pages?

    Regerds Ora

  5. Yes :)

    If you ONLY want to change SOME pages, then you would use the directions Sam and I linked to to create a new page (page-mytemplate.php) and put that in your theme folder. Then you call that template to control the look and feel of that one page.

    See also: http://justintadlock.com/archives/2009/03/13/page-templates-the-untapped-potential-of-wordpress

Topic Closed

This topic has been closed to new replies.

About this Topic