• Resolved antass

    (@antass)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried changing your Reading setting to Full Text to see if your blog display complete articles in your feed?

    WP Dashboard>Settings>Reading>Full Text

    Ron

    Thread Starter antass

    (@antass)

    Hi Ron,

    Yes, I have it set to Full Text, and the posts show up as full text on the main page.

    I think though I may have solved the problem! (It’s funny how after days of trying to figure it out, I finally give in and post a question, just to find the answer myself two minutes later ;))

    In the Using Permalinks manual (section Tips and Tricks), it says that permalinks with the structure %year%%monthnum%%day% will always lead to the Archive; and that’s exactly what I had set up. I added post ID to the link (/%year%/%monthnum%/%day%/%post_id%) and everything works.

    Thanks for a prompt response, nonetheless!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘'Read more' AND post title link to excerpt (in Archives and on the front page)’ is closed to new replies.