This is another post about theme Spacious.

Spacious shortens all posts on front page(excerpt), this makes the front page tidy however I want to control how much to show instead of the default(55 words). Thought there would be an option somewhere however it appears there is no such parameter available.

Googled but there is not much information, finally found the answer on WordPress website

Control Excerpt Length using Filters

By default, excerpt length is set to 55 words. To change excerpt length to 20 words using excerpt_length filter, add the following code to functions.php file in your theme:

function custom_excerpt_length( $length ) {
	return 100;
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );

Here you go – go to wp-content/themes/spacious, locate the functions.php and add the above lines, refresh the page and job done(100 words instead of the default 55)!


WordPress Theme – Spacious part 2
Tagged on:                         

7 thoughts on “WordPress Theme – Spacious part 2

  • May 9, 2014 at 11:25 pm

    Hide user who published the post, open this file

    then comment out this line

    using “<! — — >”

  • August 25, 2014 at 2:46 am

    For the reason that the admin of this site is working,
    no hesitation very soon it will be well-known, due to its quality contents.

    my web page :: Google

  • September 10, 2014 at 1:14 pm

    This design is wicked! You most certainly know how to keep a reader amused.
    Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Excellent job.
    I really enjoyed what you had to say, and more than that, how you presented it.
    Too cool!

    my blog … dave zitting

  • September 10, 2014 at 3:22 pm

    My developer is trying to convince me to move to .net from PHP.
    I have always disliked the idea because of the expenses. But he’s tryiong none the less.
    I’ve been using WordPress on numerous websites for about a year and am nervous about switching to
    another platform. I have heard good things about Is there a way I can transfer all my wordpress
    posts into it? Any kind of help would be really appreciated!

    My web blog: david zitting;,

  • September 10, 2014 at 11:54 pm

    I loved as much as you will receive carried out right here.
    The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get got an impatience
    over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly very
    often inside case you shield this hike.

    my web page: dave zitting PRMI


Leave a Reply

Your email address will not be published.

62 − 58 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.