PluginProbe
WPCasa – Real Estate for WordPress / trunk
WPCasa – Real Estate for WordPress vtrunk
1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.1.1 trunk 1.2.0 1.2.1 1.2.10 1.2.10.1 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.2.9.1 1.2.9.2 1.3.0 All 31 releases
wpcasa / templates / listing-teaser.php

listing-teaser.php in WPCasa – Real Estate for WordPress trunk, at templates/listing-teaser.php

56 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
2
3 <div class="wpsight-listing-teaser entry-content" itemscope itemtype="https://schema.org/Product">
4
5 <meta itemprop="name" content="<?php echo esc_attr( $post->post_title ); ?>" />
6
7 <div itemprop="offers" class="clearfix" itemscope itemtype="https://schema.org/Offer">
8
9 <?php do_action( 'wpsight_listing_teaser_before' ); ?>
10
11 <div class="wpsight-listing-left">
12
13 <meta itemprop="image" content="<?php echo esc_attr( wpsight_listing_thumbnail_url( $post->ID, 'large' ) ); ?>" />
14
15 <div class="wpsight-listing-image">
16 <a href="<?php the_permalink(); ?>" rel="bookmark">
17 <?php wpsight_listing_thumbnail( $post->ID, array( 75, 75 ) ); ?>
18 </a>
19 </div>
20
21 </div>
22
23 <div class="wpsight-listing-right">
24
25 <div class="wpsight-listing-title clearfix">
26
27 <div class="alignleft">
28 <h3 class="entry-title">
29 <a href="<?php echo esc_url( get_permalink( $post->ID ) ); ?>" rel="bookmark"><?php echo esc_html( get_the_title( $post->ID ) ); ?></a>
30 </h3>
31 </div>
32
33 <div class="alignright">
34 <div class="wpsight-listing-status">
35 <?php wpsight_listing_offer( $post->ID ); ?>
36 </div>
37 </div>
38
39 </div>
40
41 <div class="wpsight-listing-info clearfix">
42 <div class="alignleft">
43 <?php wpsight_listing_summary( $post->ID ); ?>
44 </div>
45 <div class="alignright">
46 <?php wpsight_listing_price( $post->ID ); ?>
47 </div>
48 </div>
49
50 </div>
51
52 <?php do_action( 'wpsight_listing_teaser_after' ); ?>
53
54 </div>
55
56 </div><!-- .wpsight-listing -->