Home>Support>Read more link

Read more link

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 2 months ago nikibilejn

    Ok. 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' );
    
  2. 10 years, 2 months ago nikibilejn

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More