Read more link
Hello,
Is there any custom code that we can use to change this “[ ]” to “read more” link in post excerpt.
Thanks
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.
Hello,
Is there any custom code that we can use to change this “[ ]” to “read more” link in post excerpt.
Thanks
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Have a different question or issue?
Start New Thread
Replies
2Ok. Here it is :)
function new_excerpt_more( $more ) { return ' <a href="' . get_permalink( get_the_ID() ) . '" rel="nofollow">' . __( 'Read More', 'your-text-domain' ) . '</a>'; } add_filter( 'excerpt_more', 'new_excerpt_more' );Sorry I copy incorrect
Here is link:
http://codex.wordpress.org/Function_Reference/the_excerpt
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.