-
-
Save pcfreak30/aa1f06328f2e3301565bd875c4c0fbb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php get_header(); ?> | |
<div id="main-content"> | |
<div class="container"> | |
<div id="content-area" class="clearfix"> | |
<div id="left-area"> | |
<h1><?php single_cat_title(); ?></h1> | |
<div><?php echo get_term_meta( get_queried_object()->term_id, 'location_description', true ); ?></div> | |
<div class="facetwp-template"> | |
<?php while ( have_posts() ): the_post(); ?> | |
<div> | |
<a href="<?php the_permalink(); ?>" style="margin-right:24px; float:left;"><?php the_post_thumbnail( 'medium' ); ?></a> | |
<h4 style="margin-bottom:12px;"><strong><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></strong></h4> | |
<ul> | |
<li style="list-style:none;"><strong><?php echo get_post_meta( $post->ID, 'bedrooms', true ); ?> Bed / <?php echo get_post_meta( $post->ID, 'bathrooms', true ); ?> Bath</strong></li> | |
<li style="list-style:none;"><strong>Location:</strong> <?php echo get_the_term_list( $post->ID, 'location' ) ?></li> | |
<li style="list-style:none;"><strong>List Price:</strong> $<?php echo get_post_meta( $post->ID, 'list_price', true ); ?></li> | |
<li style="list-style:none;"><strong>Home Size:</strong> <?php echo get_post_meta( $post->ID, 'construction', true ); ?> m2</li> | |
<li style="list-style:none;"><strong>Land Area:</strong> <?php echo get_post_meta( $post->ID, 'land_area', true ); ?> m2</li> | |
<li style="list-style:none;"><strong>Type:</strong> <?php echo get_the_term_list( $post->ID, 'property_type' ) ?></li> | |
</ul> | |
</div> | |
<div style="clear:both; margin-bottom:12px;"></div> | |
<?php endwhile; ?> | |
</div> | |
</div> <!-- #left-area --> | |
<?php get_sidebar(); ?> | |
</div> <!-- #content-area --> | |
</div> <!-- .container --> | |
</div> <!-- #main-content --> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment