Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 5th, 2012  |  syntax: None  |  size: 0.68 KB  |  views: 58  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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(); ?>
clone this paste RAW Paste Data