Advertisement
Guest User

Untitled

a guest
Oct 21st, 2010
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.55 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <img src="<?php bloginfo('template_directory'); ?>/images/Gradation_Header_1000.gif" style="position:relative; left:-50px; z-index:-1;"/>
  3.  
  4. <img src="<?php bloginfo('template_directory'); ?>/images/PG_HDRimg_History.jpg" style="float:left; margin-right:30px;" />
  5.  
  6.  
  7. <?php if (!is_page('148')) { ?>
  8.  
  9. <span style="padding-top:24px; font-family:sans-serif; font-size:11px; color:#999999; float:left;">
  10. <?php the_breadcrumb(); ?>
  11. </span>
  12.  
  13. <?php } ?>
  14.  
  15.  
  16.  
  17.  
  18. <?php if (is_page('148')) { ?>
  19. <h1 style="font-size:30px; font-family:sans-serif; font-weight:normal; color:#3092B3; margin-top:80px;">Contact Us</h1>
  20. <?php }
  21. if ( $post->post_parent == '131' ) { ?>
  22. <h1 style="font-size:30px; font-family:sans-serif; font-weight:normal; color:#3092B3; margin-top:80px;">Ministries</h1>
  23.  
  24. get_sidebar();
  25. <?php }
  26.  
  27. elseif ($post->post_parent == '199') { ?>
  28. <h1 style="font-size:30px; font-family:sans-serif; font-weight:normal; color:#3092B3; margin-top:80px;">About Us</h1>
  29.  
  30. <?php get_sidebar(); }
  31.  
  32. else { }
  33.  
  34. ?>
  35.  
  36.  
  37.  
  38. <div id="post_content">
  39. <?php if (have_posts()) : while (have_posts()) : the_post();
  40.  
  41. if (!is_page('148')) { ?>
  42.  
  43. <h1 class="post_header">
  44.  
  45. <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
  46. <?php } ?>
  47.  
  48.  
  49.  
  50. <?php the_content(); ?>
  51.  
  52.  
  53. <?php endwhile; ?>
  54. <?php else : ?>
  55.  
  56. <h2>Nothing found</h2>
  57. <p>Sorry, but you are looking for something that isn't here.</p>
  58. <p><a href="<?php echo get_option('home'); ?>">Return to the homepage</a></p>
  59.  
  60. </div> <!-- close post_content -->
  61. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement