Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

The Events Calendar Plugin

Home / Forums / Virtue Theme / The Events Calendar Plugin

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
June 30, 2015 at 12:24 pm

Hi,

I was searching the forum and saw this solution for removing the sidebar from the page when using the Events Calendar. You mentioned adding this in the child theme. I don’t have the site set up as a child theme. Can I just add it to the advanced settings custom css? Or do I need to first figure out how to convert the site to a child theme first? I’m using Virtue Premium.

add_filter(‘kadence_display_sidebar’, ‘tribe_sidebar’);

function tribe_sidebar($sidebar) {
if (tribe_is_event_query()) {
return false;
}
return $sidebar;
}

Thanks!
Connie

  • The forum ‘Virtue Theme’ is closed to new topics and replies.