WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am wondering how do you create a home page with a custom design like banners different layout from other pages while allowing users to edit it.

I used to use home.php problem is user cannot edit it ... unless they know PHP.

An option will be to create shortcodes for each section of the home page eg. [banner], [services] or even an empty tag [latestBlogPosts] etc. I dont think its correct.

Whats the way of accomplishing this? A quick "mockup" below of a typical home page

enter image description here

Things like latest blog post and portfolio are dynamic from wordpress.

share|improve this question
who are the 'users'? is that for a distributable theme? or for multisite? – Michael Jun 14 '11 at 12:35
@Michel, by users I mean either clients, or users that use the theme – JM at Work Jun 15 '11 at 5:38
up vote 0 down vote accepted

First, do not use home.php for this purpose. It is a reserved template file name, and is used to display the Blog Posts Index.

Your best option is probably to create a front-page.php template file, and make the output Widget-based, so that users can modify the display via Dashboard -> Appearance -> Widgets.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.