title: Change Read More link to show full article in Wordpress
body: <p>I'm trying to change the function of the read more button on the excerpt of a post. Instead of the Read More button going to the article page, I'd like it to load the rest of the article on the archive page.</p>
  
  <p>This is what I have in my functions page:</p>
  
  <pre><code>function new_excerpt_more($more) {
         global $post;
      return '... &lt;a href="'. get_permalink($post-&gt;ID) . '"&gt;Read more&lt;/a&gt;';
  }
  add_filter('excerpt_more', 'new_excerpt_more');
  
  
  function custom_excerpt_length( $length ) {
      return 250;
  }
  add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
  </code></pre>
  
  <p>I know that I'd have to replace <code>get_permalink($post-&gt;ID)</code> with something else, but I'm not sure how to go about it. Any help would be greatly appreciated. </p>