'Read more' AND post title link to excerpt (in Archives and on the front page)
-
I am using WP.org 3.5.1 and Responsive Child Theme 1.0.0
Whenever I click on a “Read more” link displayed at the end of an excerpt in Archives, I am sent to a new page with the same excerpt (clicking ‘Read more’ again just reloads the page), and I never see the full-length post. Same happens when I click on the post title.
Also, on a page that lists full posts (Home), clicking full-length post’s title sends me to the excerpt.
Following advice from the_excerpt documentation, I have added this to my
functions.php
:function new_excerpt_more($more) { global $post; return ' <a href="'. get_permalink($post->ID) . '">Read the Rest...</a>'; } add_filter('excerpt_more', 'new_excerpt_more');
which just changed the wording to “Read the Rest…”, but the behavior remained the same. This make me think the permalinks somehow link to the excerpt instead of the full post. Any ideas what could be wrong and how to fix this issue?
My blog: https://bit.ly/WMqZxE
Thanks for your help!
- The topic ‘'Read more' AND post title link to excerpt (in Archives and on the front page)’ is closed to new replies.