title: Wordpress: Show custom post type details page
body: <p>I have created a custom post type named as product. After that I have created a template file to show all products on that page and write the below code :</p>
  
  <pre><code>&lt;?php $loop = new WP_Query( array( 'post_type' =&gt; 'acme_product',
                                     'posts_per_page' =&gt; 14 ) );
        while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post();
  ?&gt;
  &lt;div&gt;
  &lt;div&gt;
  &lt;?php the_post_thumbnail('thumbnail');
  ?&gt;
  &lt;/div&gt;
  &lt;div&gt;
  &lt;?php the_title( '&lt;h2 class="entry-title"&gt;&lt;a href="'.get_permalink().'" title="'.
                   the_title_attribute( 'echo=0' ).
                   '" rel="bookmark"&gt;', '&lt;/a&gt;&lt;/h2&gt;' );
  ?&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;?php endwhile;
  ?&gt;
  </code></pre>
  
  <p>But when I click on the product title link it will not show my product details page. Can anyone help me?</p>