Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12556

    Hi,

    Is it possible to edit the excerpt character length on the Latest News Widget?

    Thanks

    #75900

    Hey!

    You can use following filter/code: http://codex.wordpress.org/Function_Reference/the_excerpt#Control_Excerpt_Length_using_Filters to change the excerpt length. Add the code to functions.php.

    Best regards,

    Peter

    #75901

    Do I have to add it to the functions.php of the theme itself, or create a theme-child. I assume the last option is best for updating the theme without loosing custom functions. Am I right about that?

    #75902

    Hi wvanderzee,

    You can do either. If you keep a copy of the theme before an update you can always add your changes back in as well. Its a little less work than going through and creating a child theme but does take forethought when updating.

    Regards,

    Devin

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Edit excerpt length on Latest news widget’ is closed to new replies.