WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
How to display excerpt of posts? (not FULL posts) (3 posts)

  1. PersonaGrated
    Member
    Posted 1 year ago #

    Hi,

    This website displays only a short summary of the blog posts:
    http://clashtournaments.com/?page_id=738

    On my website it shows the full blog posts. I have disabled the 'front page' that Responsive uses. So, I want my front page to show excerpts instead of full posts.

    I am using a child theme of Responsive Theme.

    How can I do that?

    Thanks! :)

  2. PersonaGrated
    Member
    Posted 1 year ago #

    I added this to a newly created functions.php in my child theme's directory.

    <?php
    /**
     * Sets the post excerpt length to 15 words.
     */
    function custom_excerpt_length($length) {
        return 15;
    }
    
    add_filter('excerpt_length', 'custom_excerpt_length', 999);
    ?>

    It did NOTHING.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You may get better help on the developers forum here:

    http://cyberchimps.com/forum/free/responsive/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic