Advertisement
Guest User

bg

a guest
May 29th, 2013
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. <?php
  2. if($post->ID == get_option('rttheme_blog_page'))
  3. {
  4. $this_is_blog=true;
  5. include(TEMPLATEPATH."/template_blog.php");
  6. }
  7. elseif($post->ID == get_option('rttheme_portf_page'))
  8. {
  9. include(TEMPLATEPATH."/template_portfolio.php");
  10. }
  11. elseif($post->ID == get_option('rttheme_product_list'))
  12. {
  13. include(TEMPLATEPATH."/template_product_list.php");
  14. }
  15. elseif($post->ID == get_option('rttheme_contact_page'))
  16. {
  17. $this_is_page=true;
  18. include(TEMPLATEPATH."/template_contact_us.php");
  19. }else{
  20.  
  21. get_header();
  22. $this_is_page=true;
  23. ?>
  24.  
  25.  
  26. <div class="sub_header">
  27. <!-- slider area -->
  28. <div id="slider_con">
  29. <div id="slider_area">
  30.  
  31. <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Slider Widget')){}?>
  32.  
  33. </div>
  34.  
  35. <!-- slider on/off icons -->
  36. <div id="numbers"></div>
  37. <div class="slider_curv png"></div>
  38. </div>
  39. <!-- / slider -->
  40. <div class="content_con2<?php if(dwhich_home==2):?> three_column<?php endif;?>">
  41. <!-- left side content -->
  42. <?php if($which_home==1):?><div class="content"><?php endif;?>
  43.  
  44.  
  45. </div>
  46.  
  47. <div class="content_con2">
  48.  
  49. <!-- left side content -->
  50. <div class="content sub">
  51.  
  52. <h2><?php the_title(); ?></h2>
  53. <?php if (have_posts()) : while (have_posts()) : the_post();
  54.  
  55. //id for dynamic sidebars
  56. $sidebar_id = $post->ID;
  57.  
  58.  
  59. ecc....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement