Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I currently have a static front page and a /blog.

My goal is to have the front page be a grid of hand selected images (similar to a portfolio). I would like to be able to easily switch the images are featured on this page without having to change the raw html.

Is the best way to do this, using custom fields on a page? Or is there a better way to handle managing featured images on a static page?

Thanks!

share|improve this question
1  
I would just create a loop with a "featured" category, and then just display the featured image of each post. –  Mario Aug 1 '11 at 20:39
add comment

2 Answers

up vote 0 down vote accepted

Two categories should do the trick.

  1. Featured posts - This category should be applied to posts that you want to show on your home page, with that images grid. You can limit the number of posts (so only the, for example, 6 newest ones would appear) and select the featured image for them on each post's properties. You can limit number of posts easily, and you can also exclude other categories from your home page.
  2. Blog posts - a general category with a name such as 'blog' would include every other post you've got on your website. This category would have a visible link on your home page, and would be accesible through www.yousite.com/blog/

I think this would be my way to go.

share|improve this answer
add comment

The best bet is to use the front-page.php template and put a custom loop on it and then style the loop how you'd like it to show the content.

share|improve this answer
    
How would I be able to manage the content of the loop though? Custom fields on the page? Or feature category as Mario says above? –  Rapture Aug 1 '11 at 21:19
add comment

Your Answer

 
discard

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.