I have a WordPress website I just over from another web developer, there is the following excerpts on the blog articles : [...]
How can I perhaps add a functionality for these brackets and dots to link to blog articles?
I have a WordPress website I just over from another web developer, there is the following excerpts on the blog articles : [...]
How can I perhaps add a functionality for these brackets and dots to link to blog articles?
use this code:
function new_excerpt_more($more) {
global $post;
return '<a class="moretag" href="'. get_permalink($post->ID) . '"> [...]</a>';
}
add_filter('excerpt_more', 'new_excerpt_more');