Horje

Function to change the length of excerpt

Just copy and paste following codes to yourdomain.com/wp-content/themes/activated-theme/fucntions.php in the most below.

Example: PHP
function new_excerpt_length($length) { 
    return 100;
}

add_filter('excerpt_length', 'new_excerpt_length');



Related Articles
How to change the length of excerpt Wordpress Theme Shortcode

Single Articles
How to extract Keyword Description Author from Meta Tag a HTML Page using URLWordpress Theme Shortcode

Type:
Php
Category:
Web Tutorial
Sub Category:
Wordpress Theme Shortcode
Uploaded by:
Admin



Share on: