Advertisement
Guest User

Untitled

a guest
Mar 28th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. <?php
  2. /**
  3. * Default Events Template
  4. */
  5. ?>
  6. <?php
  7. if ( !defined('ABSPATH') ) { die('-1'); }
  8.  
  9. //remove breadcrumb
  10. remove_action('__before_main_container', array(TC_breadcrumb::$instance, 'tc_breadcrumb_display'), 20);
  11. //remove headings
  12. remove_action('__before_loop', array(TC_headings::$instance, 'tc_archives_headings'));
  13. ?>
  14.  
  15. <?php do_action( '__before_main_wrapper' ); ##hook of the header with get_header ?>
  16. <div id="main-wrapper" class="<?php echo tc__f( 'tc_main_wrapper_classes' , 'container' ) ?>">
  17.  
  18. <?php do_action( '__before_main_container' ); ##hook of the featured page (priority 10) and breadcrumb (priority 20)...and whatever you need! ?>
  19.  
  20. <div class="container" role="main">
  21. <div class="row-fluid">
  22.  
  23. <?php do_action( '__before_article_container'); ##hook of left sidebar?>
  24.  
  25. <div id="content" class="<?php echo tc__f( '__screen_layout' , tc__f ( '__ID' ) , 'class' ) ?> article-container">
  26.  
  27. <?php do_action ('__before_loop');##hooks the header of the list of post : archive, search...?>
  28. <div id="tribe-events-pg-template">
  29. <?php tribe_events_before_html(); ?>
  30. <?php tribe_get_view(); ?>
  31. <?php tribe_events_after_html(); ?>
  32. </div> <!-- #tribe-events-pg-template -->
  33.  
  34. <?php do_action ('__after_loop');##hook of the comments and the posts navigation with priorities 10 and 20 ?>
  35.  
  36. </div><!--.article-container -->
  37.  
  38. <?php do_action( '__after_article_container'); ##hook of left sidebar ?>
  39.  
  40. </div><!--.row -->
  41. </div><!-- .container role: main -->
  42.  
  43. <?php do_action( '__after_main_container' ); ?>
  44.  
  45. </div><!--#main-wrapper"-->
  46.  
  47. <?php do_action( '__after_main_wrapper' );##hook of the footer with get_get_footer ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement