Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fanwood_child_theme_setup() {
- /* Get the theme prefix ("fanwood"). */
- $prefix = hybrid_get_prefix();
- /* ... to Read more */
- add_filter( 'excerpt_more', 'my_excerpt_more' );
- }
- function my_excerpt_more( $more ) {
- $more = '...<p><a class="more-link" href="' . get_permalink() . '" title="' . the_title_attribute('echo=0') . '">Read more →</a></p>';
- return $more;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement