Support » Themes and Templates » The amount of excerpt text on the front page…

  • I have a feeling this is easy, but I can’t figure out how to reduce the amount of excerpt text on the front page of the f8 Lite theme. Please help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you tried setting a custom excerpt that just contains the amount of text you like? It’s a box saying Excerpt on the post edit screen.

    Sorry, but where in functions.php?

    Isn’t there a way to modify the excerpt function as it already exists? Where is it told to put 9 lines?

    Sorry, but where in functions.php?

    That doesn’t matter. At the beginning, at the end, choose whatever you like.

    Isn’t there a way to modify the excerpt function as it already exists?

    Sure, the above code snippet doesn’t modify the function but uses WordPress’ powerful filter mechanism. You can read more about that here. The idea is that you can filter almost every piece of data that WordPress passed around.

    Where is it told to put 9 lines?

    The corresponding function for the excerpt is the_excerpt. The docs tell us that it will display “the first 55 words of the post’s content” in case you “do not provide an explicit excerpt to a post“. This may result in nine lines in your case.

    If you don’t have any functions.php file then create one and place the code anywhere in it.. just make sure the code is in php tags

    <?php
     // Code goes here
    ?>

    ———————————–
    Premium wordpress theme generator with CMS features
    http://www.wpthemebuilder.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The amount of excerpt text on the front page…’ is closed to new replies.