Support » Plugin: Better Notifications for WP » Is it possible to change the [post_excerpt] length?

  • 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

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

Viewing 3 replies - 1 through 3 (of 3 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?

    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.

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