Creating the modern ‘single page’ html5 css3 layout in wordpress

here’s how I would set things up, not necessarily the correct / best / only way.

  • create a home page, blog page, about page, contact page, etc.. as individual pages.
  • create a custom post type for my portfolio items.
  • use posts as the blog posts.
  • set static front page to my home page, blog page as the posts page.
  • create a front-page.php template, this will load whatever content I have in home by default.
  • use get_page and wp_query to load all of my pages and portfolio items into the template.
  • use a caching plugin to make it all nice and speedy

Leave a Comment