Created
September 4, 2013 19:02
-
-
Save Dianakc/0293eb0540f35340dcae to your computer and use it in GitHub Desktop.
Modificando a classe do link "readmore"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function dkc_change morelink_class( $link, $text ) | |
{ | |
return str_replace( | |
'more-link' | |
,'leiamais' //removi a more-link | |
,$link | |
); | |
} | |
add_action( 'the_content_more_link', 'dkc_change morelink_class', 10, 2 ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment