- Timestamp:
- 10/27/2020 01:58:37 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php
r49247 r49320 225 225 function twenty_twenty_one_continue_reading_link() { 226 226 if ( ! is_admin() ) { 227 return '<div class="more-link-container"><a class="more-link" href="' . esc_url( get_permalink() ) . ' ">' . twenty_twenty_one_continue_reading_text() . '</a></div>';227 return '<div class="more-link-container"><a class="more-link" href="' . esc_url( get_permalink() ) . '#more-' . esc_attr( get_the_ID() ) . '">' . twenty_twenty_one_continue_reading_text() . '</a></div>'; 228 228 } 229 229 }
Note: See TracChangeset
for help on using the changeset viewer.