Tagged: , ,

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


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




    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,



    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?


    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.



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

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