Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- *
- * archive-facilities.php
- *
- * Paddock Evacuator 2013
- * Plug Creative LLC
- *
- * http://plug-creative.com
- *
- */
- get_header(); ?>
- <div class="contentWrapper">
- <div class="pageContentW_sb">
- <h1>Certified FreshAir™ Facilities</h1>
- <div class="hrzLn-ltblue-full"></div>
- <div class="clearDiv"></div>
- <div class="bigImgWrap">
- <div class="bigImgBread"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/big-img-top.jpg" width="686" height="9" border="0" /></div>
- <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>
- <div class="bigImgBread"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/big-img-btm.jpg" width="686" height="12" border="0" /></div>
- </div> <div class="hrzLn-ltblue-full"></div>
- <div class="tenSpot"></div>
- <div class="tenSpot"></div>
- <div class="clearDiv"></div>
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="feedwrapper">
- <h3>
- <a href="<?php the_permalink() ?>" target="_self" title="<?php the_title(); ?>">
- <?php /* pageTitle */ if ( get_post_meta($post->ID, 'pageTitle', true) ) { ?>
- <?php get_custom_field('pageTitle', TRUE); ?>
- <?php } else { ?>
- <?php the_title(); ?>
- <?php } ?></a>
- </h3>
- <div class="hrzLn-ltblue-full"></div>
- <div class="tenSpot"></div>
- <div class="feedsumFacility">
- <div class="feedLt"><?php /* If this the post has an excerpt */ if ( has_excerpt() ) { ?>
- <?php the_excerpt(); ?>
- <?php } else { ?>
- More Information Coming Soon.
- <?php } ?></div>
- <div class="feedRtImg">
- <img src="<?php bloginfo('stylesheet_directory'); ?>/images/sidebar-bg-top.jpg" width="220" height="12" border="0" style="display:block" /></div>
- <div class="feedRt">
- <?php /* Location */ if ( get_post_meta($post->ID, 'wpcf-facility-location', true) ) { ?>
- <div class="postItemMore">
- <strong>Location</strong>: <?php get_custom_field('wpcf-facility-location', TRUE); ?>
- </div>
- <?php } ?>
- <?php /* Date of Completion */ if ( get_post_meta($post->ID, 'wpcf-date-of-completion', true) ) { ?>
- <div class="postItemMore">
- <strong>Date of Completion</strong>: <?php get_custom_field('wpcf-date-of-completion', TRUE); ?>
- </div>
- <?php } ?>
- <div class="readmore 5p_top">
- <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>
- </div>
- <div class="feedRtImg">
- <img src="<?php bloginfo('stylesheet_directory'); ?>/images/sidebar-bg-btm.jpg" width="220" height="15" border="0" style="display:block" /></div>
- </div>
- <div class="clearDiv"></div>
- <div class="hrzLn-ltblue-full"></div>
- </div>
- <div class="twentySpot"></div>
- <div class="clearDiv"></div>
- <?php endwhile; ?><?php endif; ?>
- </div>
- <?php get_sidebar(); ?>
- <div class="twentySpot"></div>
- </div> </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement