Hello alekma,
Yes, it's possible by adding the following code snippet in your theme's functions.php file.
/**
* Filter the "read more" excerpt string link to the post.
*
* @param string $more "Read more" excerpt string.
* @retu string (Maybe) modified "read more" excerpt string.
*/
function wp_excerpt_more( $more ) {
retu sprintf( '<a class="read-more btn btn-primary" href="%1$s">%2$s</a>',
get_permalink( get_the_ID() ),
__( 'Read More', 'textdomain' )
);
}
add_filter( 'excerpt_more', 'wp_excerpt_more' );
Hope it will help you. Thank you for using SJB and let us know if we can help you further.
Thank & Regards,
PressTigers
WordPress ...
ما را در سایت WordPress دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 479
تاريخ: دوشنبه
1 شهريور
1395 ساعت: 19:41