Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //coloque o código abaixo no arquivo functions.php
- //Referencia: http://codex.wordpress.org/Function_Reference/the_excerpt
- function new_excerpt_more($post) {
- return '<a class="leiamais" href="'. get_permalink($post->ID) . '">' . ' [...] Leia mais »' . '</a>';
- }
- add_filter('excerpt_more', 'new_excerpt_more');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement