Guest User

php fixes events cal pro

a guest
Oct 1st, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1. <?php
  2.  
  3. add_action('admin_head', 'tribe_fix_recurrence_dialog');
  4.     function tribe_fix_recurrence_dialog(){
  5.     ?>
  6.         <style type="text/css">
  7.             .ui-widget-overlay.ui-front {z-index: 90; }
  8.         </style>
  9.     <?php
  10.     }
  11.  
  12. add_action( 'init', 'tribe_events_wootheme_compatibility' );
  13.     function tribe_events_wootheme_compatibility() {
  14.         if ( ! is_home() ) {
  15.             remove_filter( 'pre_get_posts', 'woo_exclude_categories_homepage', 10 );
  16.         }
  17.     }
  18.  
  19.  ?>
Advertisement
Add Comment
Please, Sign In to add comment