Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shortcodes do not support BBPress in the newest versions #33

Closed
DevynCJohnson opened this issue Apr 28, 2016 · 5 comments
Closed

Shortcodes do not support BBPress in the newest versions #33

DevynCJohnson opened this issue Apr 28, 2016 · 5 comments

Comments

@DevynCJohnson
Copy link

The shortcodes in the latest version of Enlighter do not work in BBPress on Wordpress 4.5.1 unless I use the "Legacy" processor. The shortcodes remain as literal text in the final post.

@AndiDittrich
Copy link
Member

That's right. The New Shortcode processor does not depend on the WordPress build-in shortcode functions - therefore it is not executed by the do_shortcode action hook.

@AndiDittrich
Copy link
Member

Update

i will try to add a special bbpress extension to the next release - there seems to be some filter hooks available to modify the post-content:

  • bbp_get_reply_content
  • bbp_get_topic_content

i'm not very familar with bbpress - is it required to apply the shortcode filter to other "content sections" ?

@DevynCJohnson
Copy link
Author

Thanks! Only bbp_get_reply_content and bbp_get_topic_content are needed.

@AndiDittrich
Copy link
Member

Hi Devyn!

i've implemented bbPress Shortcode support. it is available in the latest dev version (3.1-BETA6) https://github.com/AndiDittrich/WordPress.Enlighter/archive/master.zip

I would appreciate your feedback

@AndiDittrich
Copy link
Member

v3.1 is out including experimental bbPress shortcode support - you may have to care of your theme - some bbPress styles seems to break Enlighter's appearance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants