Ready to get started?Download WordPress


How to add more text in the slider (3 posts)

  1. rattelaw
    Posted 8 months ago #

    How can I add more text in the slider? It automatically puts the first couple lines but I would like to show a longer excerpt. Thanks.


  2. rattelaw
    Posted 8 months ago #

    I figured this out in case anyone else needs it.

    First create a child theme so that you can change things without messing up the original theme. (There are instructions in the WordPress Codex)

    Then copy the slider files into the child theme directory.
    Ex. alt_homepage_blog_slider.php is for the post slider with widgets.

    Then each time you see this line <?php echo attorney_excerpt(25); ?>
    change the 25 to whatever length you want.

    Ex. <?php echo attorney_excerpt(50); ?> will display the first 50 words of the post.

  3. grmbll
    Posted 7 months ago #

    Thnx! Helped me a lot!


You must log in to post.

About this Theme

About this Topic