• I setup a new site with Twenty Twenty and I’m using the Latest Posts block on the homepage. In the block editor, it shows “…Read More” with the link. However, in the published page, it only shows “[…]” without any link.

    https://lhscfieldhospital.ca/

    I tried adding this to my child theme functions, but it didn’t work (I’m not a PHP expert):

    function modify_read_more_link() {
    return ‘<a class=”more-link” href=”‘ . get_permalink() . ‘”>Your Read More Link Text</a>’;
    }
    add_filter( ‘the_content_more_link’, ‘modify_read_more_link’ )

    ;

    Any way I can get the read more linking properly here?

    Thanks!

    Neel

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Latest Posts block “Read more…” issue’ is closed to new replies.