title: WordPress : adding read more link for custom post type
body: <p>I'm  fetching data from  custom post type  Products using  <code>product-template.php</code> like this </p>
  
  <pre><code>   &lt;div class="container" style="margin-top: 20px;"&gt;
        &lt;h1&gt;Our Products&lt;/h1&gt;
          &lt;?php
           $args=array('post_type' =&gt; 'products');
           $query= new WP_Query($args);                               
           while ($query-&gt; have_posts() ) : $query-&gt;the_post()?&gt;
           &lt;div class="col-lg-2 col-md-2 col-sm-4 col-xs-12"&gt;
               &lt;h1&gt;&lt;?php echo the_title();?&gt;&lt;/h1&gt;
               &lt;?php the_post_thumbnail( 'full', array( 'class' =&gt; 'innerimages') );?&gt;
           &lt;/div&gt;
  
       &lt;?php                                
          endwhile;
       ?&gt;
     &lt;/div&gt; 
  </code></pre>
  
  <p>now what i want to do is title should be clickable and once clicked on next page i should be able to get all the details about clicked product how do i do this ? please help. </p>