Documentation

s2_excerpt_length

this hook allows the length of the default excerpt to be modified. the default is approximately 55 words. Example code to change the excerpt length is as follows:

function my_excerpt() {
// return whatever number of words you want the excerpt length to be 
return 30;
}
add_filter('s2_excerpt_length', 'my_excerpt');

How can we help?

Contact Us

Reach out to us for any inquiry

You must enter full name
You must enter email
You must enter message

We got your message

We will reply to you very soon :)