// Custom View Article link to Post function knaeckebrot_view_article($more) { global $post; return '... <a class="view-article" href="' . get_permalink($post->ID) . '">' . __('View Article', 'knaeckebrot') . '</a>'; } add_filter('excerpt_more', 'knaeckebrot_view_article'); // Add 'View Article' button instead of [...] for Excerpts