• Resolved awillbraender

    (@awillbraender)


    Hello,
    I would like to have a longer [post_excerpt], I think in the moment it is around 300 characters long. The default WordPress excerpt length does not affect your [post_excerpt]. How can I get more characters into the field?
    Tnx for your help in advance,
    Alexander

    • This topic was modified 4 years, 12 months ago by awillbraender.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @awillbraender,
    Thanks for your message.

    So to clarify: you’ve modified the post_excerpt output but it’s not being respected in BNFW – is that correct?

    If so, can you paste the code that you’re using to do this here?

    Thread Starter awillbraender

    (@awillbraender)

    Hi Voltronik,
    thanks for your quick reply ??

    The code i used in functions.php looks as follows:

    function custom_excerpt_length( $length ) {
    return 200; // 200 words
    }
    add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );

    It works fine with wordpress but has no effect on BNFW – the excerpt still hast the same length. The question is, can I set a filter for BNFW to change the excerpt length for BNFW independently from the wordpress excerpt length?

    Tnx for your help in advance
    Alexander

    Plugin Author bnfw

    (@voltronik)

    Hi @awillbraender,
    Not currently but BNFW should respect the filter you’ve added so I’ll investigate and see if I can find what the issue is.

    Plugin Author bnfw

    (@voltronik)

    This was resolved in a recent update. Closing thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is it possible to change the [post_excerpt] length?’ is closed to new replies.