Advertisement
Guest User

default

a guest
Aug 12th, 2015
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <?php
  2.  
  3. global $avia_config;
  4.  
  5. /*
  6. * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
  7. */
  8. get_header();
  9.  
  10. $title = tribe_is_month() ? __('Calendar of Events', 'avia_framework') : tribe_get_events_title(false);
  11. $args = array('title'=> $title, 'link'=>'');
  12.  
  13. if( !is_singular() || get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title($args);
  14.  
  15. do_action( 'ava_after_main_title' );
  16.  
  17. ?>
  18.  
  19. <div class='container_wrap container_wrap_first main_color sidebar_right'>
  20.  
  21. <div class='container'>
  22.  
  23. <main class='template-page template-event-page content av-content-small units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
  24.  
  25. <div id="tribe-events-pg-template">
  26.  
  27. <?php
  28.  
  29. tribe_events_before_html();
  30. tribe_get_view();
  31. tribe_events_after_html();
  32.  
  33. ?>
  34.  
  35. </div> <!-- #tribe-events-pg-template -->
  36.  
  37. <!--end content-->
  38. </main>
  39.  
  40. <?php
  41.  
  42. //get the sidebar
  43. $avia_config['currently_viewing'] = 'page';
  44. get_sidebar();
  45.  
  46. ?>
  47.  
  48. </div><!--end container-->
  49.  
  50. </div><!-- close default .container_wrap element -->
  51.  
  52.  
  53.  
  54. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement