• Like to use WP as CMS. Am just beginning to mess around with custom templates.

    Can I have one page.php as the template for all pages except for the front — have one page1.php page as the static front page?

    I like the way I can use page templates for most content, but I’d like that first page to be more image oriented…

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, but not the way you are picturing it.

    1) Create your page1.php template. Make sure you include the custom template code at the top of the php file

    <?php
    /*
    Template Name: Whatever
    */
    ?>

    2) Create a WP page for the homepage. In the Attributes section of the Add New Page option, set the “template” pulldown to the name of the custom template you created in step 1. Then Publish the page.

    3) In the Dashboard menu, go to Settings / Reading. Select “A Static Page” and for Front Page select the WP page you created in step 2. Click “Save Changes”

    Now your home page will be the WP page created in step 2. It will display using the custom template you created in step 1.

    Sure, try this, create two pages, page 1 and page 2. Give it the template you create to each page.

    Then go to “Settings -> Reading” and in “Front page displays” select “A static page”. Now you must tell WordPress which page you want to set as home. So in “Front page” select the page you want to show as main, in this case “Page 1″ with the template Page1.php. This will be the first page to show up when you enter your site. Then in “Posts page” you must select in what page you want to show your posts or articles. In this case “Page 2″ associated with “Page2.php”.

    Thread Starter denzlite

    (@denzlite)

    Hmm. I’m confused. Sorry, very new to this. But in both suggestions it seems that there are limited options available for using custom page timeplates?

    “In the Attributes section of the Add New Page option, set the “template” pulldown to the name of the custom template you created in step 1. Then Publish the page.”

    So you can have a theme but it’s possible to use a different theme for an individual page?

    So in order to use WordPress for my website, I’ve been following the excellent (at least I think) instructions laid out here:

    http://www.webdesignerwall.com/tutorials/building-custom-wordpress-theme/

    Can anyone point me to an equally valuable tutorial, only a little more advanced? I’d like to create a site that looks somewhat like this:

    http://www.whatisblik.com/

    Obviously that’s a pretty advanced example, but I suppose I would be doing good to figure out it’s done using or incorporating WordPress.

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