Static Front Page problem

I would recommend having two static Pages for this arrangement:

  1. The static page to serve as the Placeholder for your site front page
  2. The static page to hold the content you want to display as an excerpt on the front page

Then, in front-page.php, you simply query static page 2 above, and output post-excerpt and a permalink. Once the permalink is clicked, the content from static page 2 is then rendered as per normal, via page.php.

(If this is a distributed Theme, then you’ll want to add a Theme option or other means by which to select the Page ID to query in front-page.php; otherwise, you can just make the ID static, hard-coded in the template file.)

Leave a Comment