Make generated %%excerpt%% length user-defined
-
Around line 273 of wpseo-functions.php we can find this:
'%%excerpt%%' => ( ! empty( $r->post_excerpt ) ) ? strip_tags( $r->post_excerpt ) : wp_html_excerpt( strip_shortcodes( $r->post_content ), 155),
Please make this length (currently 155) user defined, so anyone can change this value.
I’m getting better results using 200 to 300 chars long meta description and I have to change this manually on the php code each time I upgrade the plugin.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Make generated %%excerpt%% length user-defined’ is closed to new replies.