• Resolved Revived

    (@revived)


    I changed this in the WP settings page but it’s not working (meaning the full text of each article is displayed on the home page). How do I change this to include only a summary?

Viewing 10 replies - 1 through 10 (of 10 total)
  • /**
     * Filter the except length to 20 characters.
     *
     * @param int $length Excerpt length.
     * @return int (Maybe) modified excerpt length.
     */
    function wpdocs_custom_excerpt_length( $length ) {
        return 20;
    }
    add_filter( 'excerpt_length', 'wpdocs_custom_excerpt_length', 999 );

    WP Codex

    The codex recommends this. I havent tried it though

    Thread Starter Revived

    (@revived)

    That doesn’t work. Is there something specific with the Responsive theme that is displaying the full text?

    Thread Starter Revived

    (@revived)

    Can someone assist?

    Ah i’m very sorry, but i’m not a support person. I spotted this topic and thought i might be able to help, i hadnt realised it was specific to a theme when posting.

    The only other thing i can suggest is contacting their support website. Sometimes the developers respond better through their website.

    Author Website

    Although, you may have already tried that.

    Thread Starter Revived

    (@revived)

    Yeah I tried their site several days ago and have not seen a reply. I found a plugin that did the trick (Advanced Excerpt).

    Thanks for replying!

    I have noticed that some plugin authors are slow to reply. Its difficult to judge sometimes there are that many out there, i’m glad you got it sorted. I’ll take a look at that plugin, might come in handy at some point.

    Phil

    Thread Starter Revived

    (@revived)

    Thanks, Phil.

    Theme Author CyberChimps

    (@cyberchimps)

    Hi,

    Thanks a lot for pointing out this issue in the theme. We will soon update the theme with the fix.

    Thanks for the reply @bogski

    Thread Starter Revived

    (@revived)

    I resorted to using a plugin but if this could be adjusted in the theme settings, that would be ideal. Thanks!

    Theme Author CyberChimps

    (@cyberchimps)

    Hi,

    There is a page template “Blog Excerpt(Summary)” that can be used to display blog post excerpts. This can be chosen under Add new Page > Page Attributes > Template > Blog Excerpt(Summary).
    Hope this helps.

    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Summary instead of full text for posts?’ is closed to new replies.