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 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13278
    Nick Sproule
    Participant

    Hi,

    I don’t see this option in functions.php.

    Any suggestions?

    #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 2 weeks, 6 days 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 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.