Advertisement
Guest User

Untitled

a guest
Jul 15th, 2011
646
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <!-- Show the welcome box, slideshow, slider and magazine front only on first page. Makes for better pagination. -->
  4. <?php if ( $paged < 1 ) { ?>
  5.  
  6. <?php
  7. $welcomebox = get_option('T_welcomebox');
  8. if($welcomebox == "On") { include (THEMELIB . '/apps/welcomebox.php'); }
  9. ?>
  10.  
  11. <?php
  12. $slideshow = get_option('T_slideshow');
  13. $slideshow_status = get_option('T_slideshow_status');
  14. if($slideshow == "On" && $slideshow_status == "Dynamic") { include (THEMELIB . '/apps/slideshow.php'); }
  15. if($slideshow == "On" && $slideshow_status == "Static") { include (THEMELIB . '/apps/slideshow-static.php'); } ?>
  16.  
  17. <?php
  18. $slider = get_option('T_slider');
  19. if($slider == "On") { include (THEMELIB . '/apps/slider.php'); }
  20. ?>
  21.  
  22. <?php
  23. $featured = get_option('T_featured');
  24. if($featured == "On") { include (THEMELIB . '/apps/featured.php'); }
  25. ?>
  26.  
  27. <!-- End Better Pagination -->
  28. <?php } ?>
  29.  
  30. <?php
  31. $blog = get_option('T_blog');
  32. if($blog == "On") { include (THEMELIB . '/apps/blog.php'); }
  33. ?>
  34.  
  35. <?php
  36. $category_section = get_option('T_category_section');
  37. if($category_section == "On") { include (THEMELIB . '/apps/five.php'); }
  38. ?>
  39.  
  40. <!-- Begin Footer -->
  41. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement