Changeset 46722 for trunk/src/wp-content/themes/twentytwenty/functions.php
- Timestamp:
- 11/12/2019 06:22:39 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwenty/functions.php
r46701 r46722 571 571 */ 572 572 function twentytwenty_read_more_tag( $html ) { 573 return preg_replace( '/<a(.*)>(.*)<\/a>/iU', sprintf( '< a$1><span class="faux-button">$2</span> <span class="screen-reader-text">"%1$s"</span></a>', get_the_title( get_the_ID() ) ), $html );573 return preg_replace( '/<a(.*)>(.*)<\/a>/iU', sprintf( '<div class="read-more-button-wrap"><a$1><span class="faux-button">$2</span> <span class="screen-reader-text">"%1$s"</span></a></div>', get_the_title( get_the_ID() ) ), $html ); 574 574 } 575 575
Note: See TracChangeset
for help on using the changeset viewer.