title: WordPress One page site (page on front-page)
body: <p>I'm designing a theme from scratch. It's an One page site and my CMS is WordPress.
  My folder structure is : </p>
  
  <ul>
  <li>front-page.php</li>
  <li>page-about.php</li>
  <li>page-work.php</li>
  <li>page-contact.php</li>
  </ul>
  
  <p>I can display all my pages on the front-page.php as section but I lose all my  custom classes (and specific styles). Here the loop in my front-page.php : </p>
  
  <pre><code>&lt;?php get_header(); ?&gt;
  
  &lt;?php query_posts('post_type=page&amp;order=ASC'); ?&gt;
  
  &lt;?php 
  
  if (have_posts()): 
  
      while (have_posts()) : the_post(); ?&gt;
  
          &lt;section id="page-&lt;?php the_ID(); ?&gt;"&gt;
  
              &lt;div class="container"&gt;
  
                  &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
  
                  &lt;article&gt;
  
                      &lt;p&gt;&lt;?php the_content(); ?&gt;&lt;/p&gt;
  
                  &lt;/article&gt;
  
              &lt;/div&gt;
  
          &lt;/section&gt;
  
      &lt;?php endwhile; 
  
  endif; ?&gt;   
  
  &lt;?php get_footer(); ?&gt;
  </code></pre>
  
  <p>How can I keep the style (therefore, their classes/id's) of the page-xxx.php as section in my front-page.php ?</p>
  
  <p>Thank you </p>