Translate a Read More link
-
Well I thought I had this correct, but perhaps I just need more sleep….but anyone have a solution to make this translatable?
function new_excerpt_more($more) { global $post; return '<p class="more-link"><a class="moretag" href="'. get_permalink($post->ID) . '">'.'Continue Reading...'.'</a></p>'; } add_filter('excerpt_more', 'new_excerpt_more');I thought it might have been this:
return '<p class="more-link"><a class="moretag" href="'. get_permalink($post->ID) . '">'. _e('Continue Reading...', 'celestial') . '</a></p>';But it puts a text “Continue Reading…” just above the post summary excerpt.
The topic ‘Translate a Read More link’ is closed to new replies.