Change Excerpt Length in Wordpress


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function new_excerpt_length($length) {
  2. return 100;
  3. }
  4. add_filter('excerpt_length', 'new_excerpt_length');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.