Title: Subscribe button
Last modified: December 7, 2024

---

# Subscribe button

 *  Resolved [madeirakate](https://wordpress.org/support/users/madeirakate/)
 * (@madeirakate)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/subscribe-button-26/)
 * I want to remove the Subscribe to Calendar link from all events views… I have
   found several examples of code on the forum but none of them work for me. I am
   using the WP Magazine Plus theme, with Events Calendar 6.7.0 (free version).
 * Any suggestions??
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsubscribe-button-26%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [tristan083](https://wordpress.org/support/users/tristan083/)
 * (@tristan083)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/subscribe-button-26/#post-18185271)
 * Hi [@madeirakate](https://wordpress.org/support/users/madeirakate/) ,
 * Thank you for reaching out.
 * You may remove the Subscribe to Calendar links by following the guides in our
   [Removing Calendar Links](https://theeventscalendar.com/knowledgebase/remove-ical-and-google-calendar-links-from-single-event-views/)
   knowledgebase article.
 *  Thread Starter [madeirakate](https://wordpress.org/support/users/madeirakate/)
 * (@madeirakate)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/subscribe-button-26/#post-18185372)
 * Thanks for your response. I have tried all the various codes found in this article
   and others. None of them work for me. I have tried removing all codes and just
   removing a single code but no luck…
 * _// Hide subscribe box on all event pages/views.
   add\_filter( ‘tec\_views\_v2\
   _subscribe\_links’,function( $subscribe\_links ) {// When passed an empty array,
   the template will bail and not display.return [];},100);
 * OR
 * _add\_filter( ‘tec\_views\_v2\_subscribe\_links\_gcal\_single\_url’, ‘\_\_return\
   _false’, 10 );_
 * I am editing the functions.php file in the WP Magazine Plus theme – should I 
   be looking elsewhere?
 * Kate
 *  Plugin Support [tristan083](https://wordpress.org/support/users/tristan083/)
 * (@tristan083)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/subscribe-button-26/#post-18185417)
 * Hi [@madeirakate](https://wordpress.org/support/users/madeirakate/) ,
 * Thank you for your message, and I’m sorry to hear of the continued difficulties.
 * I’ve tested the following code myself with my testing environment, and I’ve confirmed
   that this code works in removing the “Subscribe to Calendar” button from the 
   calendar views.
 *     ```wp-block-code
       // Hide subscribe box on all event pages/views.add_filter( ‘tec_views_v2_subscribe_links’, function( $subscribe_links ) {   // When passed an empty array, the template will bail and not display.   return [];  },100 );
       ```
   
 * Kindly try using a Code Snippets plugin instead of placing the code in your theme’s
   functions.php file to isolate the situation.
 *  Thread Starter [madeirakate](https://wordpress.org/support/users/madeirakate/)
 * (@madeirakate)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/subscribe-button-26/#post-18185513)
 * Thanks. Have tried that in Code Snippet and it still doesn’t work… Tearing my
   hair out over this!
 *  Plugin Support [tristan083](https://wordpress.org/support/users/tristan083/)
 * (@tristan083)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/subscribe-button-26/#post-18186369)
 * Hi [@madeirakate](https://wordpress.org/support/users/madeirakate/) ,
 * Thank you for your message.
 * Another alternative we have here is to hide the button through CSS. — Kindly 
   try appending the CSS snippet below to your theme’s additional CSS section (Appearance-
   > Customize -> Additional CSS).
 *     ```wp-block-code
       .tribe-events .tribe-events-l-container .tribe-events-c-subscribe-dropdown__container, .tribe-events-page-template .tribe-events-pg-template .tribe-events-single .tribe-events-c-subscribe-dropdown__container {    display: none !important;}
       ```
   
 *  Thread Starter [madeirakate](https://wordpress.org/support/users/madeirakate/)
 * (@madeirakate)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/subscribe-button-26/#post-18186727)
 * Excellent! That worked – thank you so much for your help.
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/subscribe-button-26/#post-18188649)
 * Hi [@madeirakate](https://wordpress.org/support/users/madeirakate/)
 * 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/)

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

The topic ‘Subscribe button’ 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/)

## Tags

 * [subscribe button](https://wordpress.org/support/topic-tag/subscribe-button/)

 * 7 replies
 * 3 participants
 * Last reply from: [Darian](https://wordpress.org/support/users/d0153/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/subscribe-button-26/#post-18188649)
 * Status: resolved