Multiple page.php file inside the theme folder?

Discussion in 'WordPress' started by yoursanjay, Jul 28, 2010.

  1. #1
    I want multiple page.php files inside my theme folder like page.php, page1.php, page2.php and so on.

    The main reason is as follows:
    I have a page menu structure like Page 1 , Page 2 , Page 3 and so on. When Page 1 menu is clicked, page1.php will be accessed and in the same way for Page 2 and Page 3.

    In my page1.php, page2.php and page3.php files there are completely different layout and functionality. So, I prefer to multiple page.php files.

    Is it possible? If yes, please tell me the procedure.

    Thanks in advance.
     
    yoursanjay, Jul 28, 2010 IP
  2. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #2
    check this tutorial:
    
    
    http://www.wordpressmax.com/customize-wordpress/custom-page
    
    Code (markup):
     
    bhuthecoder, Jul 28, 2010 IP