Thoughts On Web Design

Articles on WordPress

Custom WordPress Excerpt Length

Custom WordPress Excerpt Length

In this post we are going to set the default WordPress post excerpt length and allow for different excerpt lengths in different templates.

Set Default Excerpt Length

We are going to set the default excerpt length.

1. Adjust as needed and add the following code to your theme's functions.php file.

function custom_excerpt_length()…

Reading

The Maltese Falcon

Life and Death in The Andes

Ender's Game

War and Peace

Dune

Brewing Up A Business

Latest Tweets


Follow Us On Twitter