How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support How to increase post excerpt length

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #13286
    admin
    Keymaster

    You can use the following filter:

    function my_excerpt_length($length){
    return 180;
    }
    add_filter('excerpt_length', 'my_excerpt_length');
    
    
    
    
    
    • This reply was modified 4 years ago by admin.
    #13288
    Nick Sproule
    Participant

    Hi, do I add it on the Poka ForexOptions or Poka Theme?

    And where on function.php do I add it?

    #13299
    admin
    Keymaster

    You need to use a child theme and add it to functions.php of the child theme.
    Each theme comes inside the zip with a child theme.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.