Viewing 4 replies - 1 through 4 (of 4 total)
  • Christine Rondeau


    Volunteer Forum Moderator

    If you want to get rid of the excerpt altogether you’ll need to change the code in your index.php.

    Find <?php the_excerpt(); ?> and change it to <?php the_content();?>

    If you want to change the length of the excerpt, then you’ll need to add a function to your functions.php file.

    Something like this:

    //Modify the excerpt length

    function my_custom_excerpt_length($length) {
    	return 80;
    add_filter('excerpt_length', 'my_custom_excerpt_length');


    If I change it to the content, does that mean that what I enter in the WordPress excerpt function will then show? Instead of the auto-excerpt?



    I want to be able to use the excerpt function and create my own post summary. I do not want it to just automatically take the first 55 words of a post.



    When editing a post, look at the top right of the screen and you’ll find a “screen options”. Click it then check the “Excerpt” check box.

    A new box will appear below the post editor.
    You can add your custom excerpt there.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Excerpt’ is closed to new replies.