post->ID ); $sticky_class = $this->is_sticky_class(); array_push( $post_classes, 'article-wrapper trilisting_widget_item_1', $sticky_class ); $post_classes = implode( ' ', $post_classes ); $def_thumb_img = $this->platform->get_option( 'def_thumb_img' ); $opt_cat = $this->get_inner_option( 'meta_' . $this->current_post_type . '.category' ); $no_img_class = ''; $no_img_class_bool = false; if ( empty( $this->post_thumb_id ) && empty( $def_thumb_img['url'] ) ) { $no_img_class_bool = true; $no_img_class = ' trilisting-item-no-img'; } $tagline = ''; if ( function_exists( 'get_field' ) ) { $tagline = get_field( 'trilisting_tagline', $this->post->ID ); } ?>
render_image( $img_layout, true, $data = '' ); if ( 1 == $opt_cat ) { switch ( $this->current_post_type ) { case 'trilisting_places' : echo $this->render_category( 1, 'trilisting_category', 'tax_category_icons' ); break; } } ?>
current_post_type ) && 1 == $opt_cat ) { echo $this->render_category(); } ?>
is_sticky(); echo $this->render_title(); ?>
current_post_type ) : ?> current_post_type ) && 1 == $this->get_inner_option( 'meta_' . $this->current_post_type . '.reviews' ) ) { echo trilisting_display_average_rating( $this->post->ID ); } ?> render_post_content(); ?>
get_inner_option( 'meta_' . $this->current_post_type . '.date' ); $comments_opt = $this->get_inner_option( 'meta_' . $this->current_post_type . '.comments' ); $author_opt = $this->get_inner_option( 'meta_' . $this->current_post_type . '.author' ); $date = get_the_time( 'U', $this->post->ID ); $author_id = esc_attr( $this->post->post_author ); ?> current_post_type && 1 == $opt_cat ) { echo $this->render_category( 1, 'trilisting_location' ); } ?> render_fields(); ?> get_inner_option( 'meta_' . $this->current_post_type . '.comments' ) ) : ?>
render_comments( true, '' ); ?>