1

enter image description here

How do i fix this in twentytwenty so i can show a read more button or something ?

1

1 Answer 1

1

By going to the Theme Editor, you can add the following snippet at the end of the functions.php file:

  function twentytwentychild_excerpt_more_add_continue_reading( $more ) {
    return ' [...] <div class="read-more-button-wrap"><a href="' . get_permalink( get_the_ID() ) . '" class="more-link"><span class="faux-button">Continue reading</span> <span class="screen-reader-text">“' . get_the_title( get_the_ID() ) . '”</span></a></div>';
}
add_filter('excerpt_more', 'twentytwentychild_excerpt_more_add_continue_reading' );

Source: https://wordpress.org/support/topic/continue-reading-doesnt-appear/

1
  • thank you, works
    – Wed
    Sep 5, 2020 at 10:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.