Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #3756

    I apologize if this has been answered, but I’ve searched a variety of text strings in this forum, and I haven’t found it yet. I am trying to show less information under my three display boxes. I see others’ sites who have one or two sentences, then it says “Read more”. No matter what I do, I seen to have my entire page link text showing up on the mainpage, which kind of defeats the purpose of “read more”. I appreciate this fantastic forum, it’s already helped me solve a few issues so far.



    you can reduce the excerpt length by adding following code to functions.php (at the very bottom)

    function new_excerpt_length($length) {
    return 20;
    add_filter('excerpt_length', 'new_excerpt_length');

    Ie. this code will reduce the excerpt to 20 words. Change the value as you like.


    I’m having the same problem as the original poster. The entire post shows up in my mainpage columns. I’m using Display v 1.4.1 and WP 3.2.1.

    I tried the new_excerpt_length() update you’ve suggested above, but that did not change anything.

    I came across a suggestion (here to use “<–more–>” within the post content, but that does not work for me either, I simply see <–more–> along with the rest of the post. Oh, just noticed that is for another theme, maybe that’s why it does not help here.

    I do have an excerpt for the post in WP, why doesn’t display simply use that ?

    Any help appreciated, thanks!


    Hrm so thought I’d try using valid html like “<!–more–>” and that works!

    Still curious why the standard excerpt is not used ?

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

The topic ‘Preview less information on three mainpage boxes’ is closed to new replies.