[wp-trac] Re: [WordPress Trac] #4281: Can not view drafts when splash index page activated

WordPress Trac wp-trac at lists.automattic.com
Thu May 17 16:33:05 GMT 2007


#4281: Can not view drafts when splash index page activated
----------------------------+-----------------------------------------------
 Reporter:  alexgenaud      |        Owner:  anonymous
     Type:  defect          |       Status:  closed   
 Priority:  normal          |    Milestone:  2.4      
Component:  Administration  |      Version:  2.2      
 Severity:  normal          |   Resolution:  invalid  
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by Otto42):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 This is an incorrect way of doing a splash screen. The better way would
 be:

 1. Create your splash page as a Page Template (easy to do, just take your
 page and add a Page Template header to the top and rename it to be
 splash.php or something).
 2. Put it in your theme's directory.
 3. Make a new Page Template for your posts page (Add a Page Template
 header to the theme's index.php and rename it to something like posts.php)
 4. Create new Pages for both the splash and the posts page, using your
 templates.
 5. On Options->Reading, set your Front page to be the splash page and the
 posts page to be the posts page, and to use a static page for the front
 page.

 This is basically all covered here:
 http://codex.wordpress.org/Creating_a_Static_Front_Page

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4281#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list