• Resolved fxwegr

    (@fxwegr)


    BNFW does not remove a shortcode of the foogallery from the excerpt, if the excerpt is shorter than its default length, for example 25 words. As a result, my users receive a blank notification. How can I solve the problem? I need urgent a temporary fix, or other work around.

    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 @fxwegr,
    Thanks for your message.

    As far as I know, BNFW just uses the default WordPress behaviour with regards to excerpts. A work-around to this would be to create a manual excerpts for a each post which should be used over auto-generated excerpts.

    Hope this helps.

    Thanks,
    Jack

    Thread Starter fxwegr

    (@fxwegr)

    Thank you Jack,
    the proposed workaround works so far. But that can not be a permanent solution. The problem with the BNFW excerpt shortcode only occurs in conjunction with BNFW. On my blog page the excerpt is processed correctly. Below, I submit a test notification. It clearly shows that the shortcode of the foo gallery is not removed. The default value for the excerpt is 50 words, and was not changed by me. The text of my post is 51 words. Nevertheless, the formation of the excerpts does not end with the 50th word, but also takes over the shortcode of the gallery.

    This is not the standard behavior of wordpress. I hope you can help me.

    My test results:

    This is the content of Parameter [ post_title ]:
    NotificationTest

    This is the content of Parameter [ post_excerpt ]:
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin in nulla et felis sollicitudin dictum. Nullam non ultricies quam. Nunc maximus lacus ac ipsum scelerisque ultricies. Ut maximus lobortis nibh a mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam a faucibus ex. Suspendisse leo. [foogallery id=”11819″]

    This is the content of Parameter [ permalink ]:
    https://www.mein-familienkreis.eu/index.php/2017/11/05/notificationtest/

    This is the content of Parameter [ post_date ]:
    2017-11-05 14:02:47

    Plugin Author bnfw

    (@voltronik)

    Thanks @fxwegr,
    That’s helpful.

    I’ll mark this as a bug for now and will include a fix in the next version of BNFW.

    Thanks for your help in tracking this down.
    Jack

    Thread Starter fxwegr

    (@fxwegr)

    Thank you, thats great!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcodes are not removed from the excerpt’ is closed to new replies.