Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #11905

    Hello, I have searched the forum and can’t find a solution already written that works for me.

    How can I increase the number of words that show in the blog main page in Shoutbox?

    I tried using this piece of code, but it only works with numbers less than 20. (I can show fewer words, but not more than 20 words). Is there a solution to this to let me set it for MORE words?

    This is the code I tried that did not work:

    add_filter(‘excerpt_length’, ‘my_excerpt_length’);

    function my_excerpt_length($length) {

    return 20; }


    Hi lbdesign,

    You should be able to use the More tag to tell the theme where to break off the text. I just did a quick test on my local install to test it and it will first take the excerpt (if no more tag is in the visual editor) and display that. Then it will display the text before the More tag if it IS present.

    There are also some settings at the top of loop-index.php to control the excerpt size of the full size featured posts ($excerpt_big, $excerpt_small) if you want to further modify the amount shown for the full sized posts.




    Thank you — I will try adding the More tag first.



Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘change the length of the blog post excerpt on the home page? (Shoutbox)’ is closed to new replies.