Skip to content

Instantly share code, notes, and snippets.

@viruthagiri
Last active September 13, 2016 14:42
Show Gist options
  • Save viruthagiri/d07977b95da3d249148e5e428024b02c to your computer and use it in GitHub Desktop.
Save viruthagiri/d07977b95da3d249148e5e428024b02c to your computer and use it in GitHub Desktop.
<?php
add_filter( 'template_include', 'custom_geodir_event_template_loader',0);
function custom_geodir_event_template_loader($template) {
if(geodir_get_current_posttype() == 'gd_event'){
remove_filter('geodir_detail_page_sidebar_content', 'geodir_event_detail_page_sitebar_content', 2);
add_action('geodir_details_main_content', 'geodir_event_show_shedule_date', 35);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment