Advertisement
Burleson

PEC-Facilities-Archive

Aug 22nd, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. *
  5. * archive-facilities.php
  6. *
  7. * Paddock Evacuator 2013
  8. * Plug Creative LLC
  9. *
  10. * http://plug-creative.com
  11. *
  12. */
  13.  
  14. get_header(); ?>
  15. <div class="contentWrapper">
  16. <div class="pageContentW_sb">
  17. <h1>Certified FreshAir™ Facilities</h1>
  18. <div class="hrzLn-ltblue-full"></div>
  19. <div class="clearDiv"></div>
  20. <div class="bigImgWrap">
  21. <div class="bigImgBread"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/big-img-top.jpg" width="686" height="9" border="0" /></div>
  22. <div class="featImg"><?php echo do_shortcode('[map query="post_type=facilities&posts_per_page=-1" overlay="true" show_posts="true" show_map="true" center="45.359865,20.412598" width="660px"]') ?></div>
  23. <div class="bigImgBread"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/big-img-btm.jpg" width="686" height="12" border="0" /></div>
  24. </div> <div class="hrzLn-ltblue-full"></div>
  25.  
  26. <div class="tenSpot"></div>
  27. <div class="tenSpot"></div>
  28. <div class="clearDiv"></div>
  29.  
  30. <?php if (have_posts()) : ?>
  31. <?php while (have_posts()) : the_post(); ?>
  32. <div class="feedwrapper">
  33. <h3>
  34. <a href="<?php the_permalink() ?>" target="_self" title="<?php the_title(); ?>">
  35. <?php /* pageTitle */ if ( get_post_meta($post->ID, 'pageTitle', true) ) { ?>
  36. <?php get_custom_field('pageTitle', TRUE); ?>
  37. <?php } else { ?>
  38. <?php the_title(); ?>
  39. <?php } ?></a>
  40. </h3>
  41. <div class="hrzLn-ltblue-full"></div>
  42. <div class="tenSpot"></div>
  43.  
  44. <div class="feedsumFacility">
  45. <div class="feedLt"><?php /* If this the post has an excerpt */ if ( has_excerpt() ) { ?>
  46. <?php the_excerpt(); ?>
  47. <?php } else { ?>
  48. More Information Coming Soon.
  49.  
  50. <?php } ?></div>
  51.  
  52. <div class="feedRtImg">
  53. <img src="<?php bloginfo('stylesheet_directory'); ?>/images/sidebar-bg-top.jpg" width="220" height="12" border="0" style="display:block" /></div>
  54. <div class="feedRt">
  55. <?php /* Location */ if ( get_post_meta($post->ID, 'wpcf-facility-location', true) ) { ?>
  56. <div class="postItemMore">
  57. <strong>Location</strong>: <?php get_custom_field('wpcf-facility-location', TRUE); ?>
  58. </div>
  59. <?php } ?>
  60.  
  61. <?php /* Date of Completion */ if ( get_post_meta($post->ID, 'wpcf-date-of-completion', true) ) { ?>
  62. <div class="postItemMore">
  63. <strong>Date of Completion</strong>: <?php get_custom_field('wpcf-date-of-completion', TRUE); ?>
  64. </div>
  65. <?php } ?>
  66.  
  67. <div class="readmore 5p_top">
  68. <a href="<?php the_permalink() ?>" target="_self" title="<?php the_title(); ?>">read more <img src="<?php bloginfo('stylesheet_directory'); ?>/images/arrow.jpg" width="26" height="17" border="0" align="texttop" /></a></div>
  69. </div>
  70. <div class="feedRtImg">
  71. <img src="<?php bloginfo('stylesheet_directory'); ?>/images/sidebar-bg-btm.jpg" width="220" height="15" border="0" style="display:block" /></div>
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79. </div>
  80. <div class="clearDiv"></div>
  81. <div class="hrzLn-ltblue-full"></div>
  82. </div>
  83. <div class="twentySpot"></div>
  84. <div class="clearDiv"></div>
  85. <?php endwhile; ?><?php endif; ?>
  86. </div>
  87. <?php get_sidebar(); ?>
  88.  
  89. <div class="twentySpot"></div>
  90. </div> </div>
  91.  
  92.  
  93. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement