Ashley Cameron Design

Ashley Cameron Design

Remove #more from URL

SnippetsWordPress

About a 1 minute read

"There is one thing one has to have: either a soul that is cheerful by nature, or a soul made cheerful by work, love, art, and knowledge."

Friedrich Nietzsche


1
2
3
4
function remove_more_link_jump($post) {
    return '<a href="'.get_permalink($post->ID).'" class="read-more">'.'Read More...'.'</a>';
    }
add_filter('excerpt_more', 'remove_more_link_jump');