Advertisement
Guest User

Untitled

a guest
Nov 5th, 2012
90
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None
  1. <?php
  2.  
  3. get_header();
  4.  
  5. // Get theme options
  6. $theme_options = get_option('option_tree');
  7. $omc_default_blog_style = get_option_tree('omc_default_blog_style', $theme_options, false);
  8. $omc_default_slider = get_option_tree('omc_default_slider', $theme_options, false);
  9. if ( function_exists('shareit_output') ) {
  10. $h_sticky = shareit_output();
  11. $dispalyed = false;
  12. }
  13. ?>
  14.  
  15. <section id="omc-main" class="omc-index">
  16.  
  17. <?php if ($omc_default_slider == 'Yes' && !is_paged() ) {get_template_part( 'loop', 'flexslider-homepage' );} ?>
  18.  
  19. <?php get_template_part( 'loop', $omc_default_blog_style ); ?>
  20.  
  21. </section><!-- /omc-main -->
  22.  
  23. <?php get_sidebar(); ?>
  24.  
  25. <?php get_footer(); ?>
Advertisement
RAW Paste Data Copied
Advertisement