title: WordPress: Parse error: syntax error, unexpected '<' in C:\Inetpub\wwwroot\
body: <p>This is my first major WordPress site from absolute scratch. My PHP skills are only starting out and this is the error I am getting. I know what the problem is, I just don't know how to write this block of PHP code correctly and would appreciate some help please.</p>
  
  <p>As far as I have read, I cannot put html markup into a block of PHP code like I have done here which is odd, as all the example WP Loops I have seen has HTML markup in it.</p>
  
  <pre><code>            &lt;?php
              /**
               * Template Name: Home Page
               *
               * This Full Width template removes the primary and secondary asides so that content
               * can be displayed the entire width of the #content area.
               *
               */
  
  
                  // calling the header.php
                  get_header();
  
                  // action hook for placing content above #container
                  thematic_abovecontainer();
  
              ?&gt;
  
                      &lt;div id="container"&gt;
  
                          &lt;?php thematic_abovecontent(); ?&gt;
  
                          &lt;div id="content" class="home-content"&gt;
  
                              &lt;?php
  
                              // calling the widget area 'page-top'
                              get_sidebar('page-top');
  
                              the_post();
  
                              thematic_abovepost();
  
                              ?&gt;
  
                              &lt;div id="post-&lt;?php the_ID();
                                  echo '" ';
                                  if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
                                      post_class();
                                      echo '&gt;';
                                  } else {
                                      echo 'class="';
                                      thematic_post_class();
                                      echo '"&gt;';
                                  }
  
                                  // creating the post header
                                  // thematic_postheader();
  
                                  ?&gt;
  
                                  &lt;div class="entry-content"&gt;
  
                                      &lt;?php
  
                                      the_content();
  
                                      wp_link_pages("\t\t\t\t\t&lt;div class='page-link'&gt;".__('Pages: ', 'thematic'), "&lt;/div&gt;\n", 'number');
  
                                      edit_post_link(__('Edit', 'thematic'),'&lt;span class="edit-link"&gt;','&lt;/span&gt;') ?&gt;
  
                                  &lt;/div&gt;
                              &lt;/div&gt;&lt;!-- .post --&gt;
                              &lt;div class="featureBlocks"&gt;
                                  &lt;div class="news"&gt;
                                      &lt;div class="featTitle"&gt;
                                          &lt;h3&gt;News &lt;br /&gt;&amp; Events&lt;/h3&gt;
                                          &lt;div class="featSubTitle"&gt;What's happening in the world of Process Engineering&lt;/div&gt;
                                          &lt;div class="clear"&gt;&lt;/div&gt;
                                      &lt;/div&gt;
                                      &lt;?php 
                                          query_posts('cat=4&amp;posts_per_page=1');
                                          if (have_posts()) : while (have_posts()) : the_post();
                                              the_title();
                                              the_content();
                                              /*&lt;a href='&lt;?php the_permalink(); ?&gt;' rel='bookmark' title='Permanent Link to &lt;?php the_title_attribute(); ?&gt;'&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;*/
                                          endwhile; endif;
                                          // Reset Query
                                          wp_reset_query();
                                      ?&gt;
                                  &lt;/div&gt;
                                  &lt;div class="research"&gt;
                                      &lt;div class="featTitle"&gt;
                                          &lt;h3&gt;Research &lt;br /&gt;Highlights&lt;/h3&gt;
                                          &lt;div class="featSubTitle"&gt;Find out what exciting research is happening Process Engineering&lt;/div&gt;
                                          &lt;div class="clear"&gt;&lt;/div&gt;
                                      &lt;/div&gt;
  
                                      &lt;?php 
                                          query_posts('cat=5&amp;posts_per_page=1');
                                          if (have_posts()) : while (have_posts()) : the_post();
                                              &lt;strong&gt;the_title();&lt;/strong&gt;
                                              the_content();
                                          endwhile; endif;
                                          // Reset Query
                                          wp_reset_query();
                                      ?&gt;
                                  &lt;/div&gt;
                                  &lt;div class="studentStories"&gt;
                                      &lt;div class="featTitle"&gt;
                                          &lt;h3&gt;Student &lt;br /&gt;Stories&lt;/h3&gt;
                                          &lt;div class="featSubTitle"&gt;Student life at the Department of Process Engineering&lt;/div&gt;
                                          &lt;div class="clear"&gt;&lt;/div&gt;
                                      &lt;/div&gt;
                                      &lt;?php 
                                          query_posts('cat=6&amp;posts_per_page=1');
                                          if (have_posts()) : while (have_posts()) : the_post();
                                              the_title();
                                              the_content();
                                          endwhile; endif;
                                          // Reset Query
                                          wp_reset_query();
                                      ?&gt;
                                  &lt;/div&gt;
                                  &lt;div class="clear"&gt;&lt;/div&gt;
                              &lt;/div&gt;
                          &lt;?php
  
                          thematic_belowpost();
  
                          // calling the comments template
                          thematic_comments_template();
  
                          // calling the widget area 'page-bottom'
                          get_sidebar('page-bottom');
  
                          ?&gt;
  
                          &lt;/div&gt;&lt;!-- #content --&gt;
  
                          &lt;?php thematic_belowcontent(); ?&gt; 
  
                      &lt;/div&gt;&lt;!-- #container --&gt;
  
              &lt;?php 
  
                  // action hook for placing content below #container
                  thematic_belowcontainer();
  
                  // calling footer.php
                  get_footer();
  
              ?&gt;
  </code></pre>
  
  <p>I'd appreciate it if someone could show me what I am doing wronf.
  Many thanks!</p>