Support » Fixing WordPress » Static Pages

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark (podz)

    (@podz)

    Support Maven

    What do you mean by ‘template’ ?
    If you want to use what you have now for your main page, just edit the ‘index.php’ file, and save that as ‘page.php’ in wp-content.
    As for templates, I’ll find you the link you need.

    Mark (podz)

    (@podz)

    Support Maven

    From the hackers list:
    http://wordpress.org/pipermail/hackers_wordpress.org/2004-
    October/002117.html
    Page Templates must have a “Template Name:” field in the header.
    Here’s how WP decides which template to load for a page.
    If a page template is specified, that template is loaded, if it exists.
    Otherwise, page.php is loaded, if it exists.
    Otherwise, index.php is loaded.
    The templates must be in the theme directory. For the default theme,
    the theme directory is wp-content.
    For a half-assed explanation of how the templates are loaded, see:
    http://boren.nu/archives/2004/10/16/templates-and-the-is-functions/
    My port of Kubrick to 1.3 provides a good example of how all of this is
    used:
    http://boren.nu/archives/2004/10/10/kubrick-130-rc2/
    Ryan

    Right, i’m using the latest build and Kubrick 1.3.a
    I’ve got pages together, i changed the page.php template to include the menu, and to be styled as a 2 column page.
    this page works great, but now i’d like to create another with different sidebar content, and another without a side bar.
    how can you create alternate page styles?
    or can you?
    F.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Static Pages’ is closed to new replies.