Title: Debugging Shortcode in Add HTML before event content
Last modified: January 9, 2024

---

# Debugging Shortcode in Add HTML before event content

 *  Resolved [ZeroGravity](https://wordpress.org/support/users/zerogravity/)
 * (@zerogravity)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/debugging-shortcode-in-add-html-before-event-content/)
 * A shortcode for a plugin is not working when added to Settings -> Display -> 
   Additional Content -> Add HTML before event content.
 * Shortcodes from other plugins work and I have made sure the shortcode is pasted
   as text. The shortcode in question works when it is added to a page.
 * Can someone suggest how I can go about testing and debugging why this one particular
   plugin’s shortcode isn’t working?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [ZeroGravity](https://wordpress.org/support/users/zerogravity/)
 * (@zerogravity)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/debugging-shortcode-in-add-html-before-event-content/#post-17330743)
 * I tracked down what was happening. The plugin was applying a filter to the content
   rather than creating a shortcode. I added filters in functions .php for tribe_events_before_html
   and tribe_events_after_html, calling the appropriate function.
 * All is displaying as it should now. 🙂
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/debugging-shortcode-in-add-html-before-event-content/#post-17346775)
 * Hi [@zerogravity](https://wordpress.org/support/users/zerogravity/)
 * Thanks for your confirmation and I’m glad that it is now working.
 * If you have a minute, a great review from you would be amazing!
 * [https://wordpress.org/support/plugin/the-events-calendar/reviews/](https://wordpress.org/support/plugin/the-events-calendar/reviews/)
 * Please do not hesitate to start a new thread if you have other issues at all.
   This allows us to track topics/issues efficiently and follow the[ WordPress Forum Guidelines](https://wordpress.org/support/guidelines/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Debugging Shortcode in Add HTML before event content’ is closed to new
replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Darian](https://wordpress.org/support/users/d0153/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/debugging-shortcode-in-add-html-before-event-content/#post-17346775)
 * Status: resolved