Forum Replies Created
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
Kendra ArnoldSpectator
I take that back, i figured that out so the error went away. but I added bedrooms in two ways and they display nothing.
<?php do_action(‘property_bedrooms’); ?>
and
<?php $property->get_property_meta(‘property_bedrooms’); ?>
Kendra ArnoldSpectatorHI Merv,
Sorry but I am not sure what you mean? Can you please elaborate?
Kendra ArnoldSpectatorThis reply has been marked as private.Kendra ArnoldSpectatorHi Merv,
I am back working on this again. I am slowly editing the project card and need to customize the meta. I placed this inside: <?php $property->get_property_meta(‘property_building_area’); ?> and now I get this error:
Fatal error: Call to a member function get_property_meta() on a non-object in /home/homewise/public_html/wp-content/themes/weaver-ii-homewise/easypropertylistings/loop-listing-blog-default.php on line 47Here is all the code from the template file:
<?php /* * Loop Property Template: Project Card * * @package easy-property-listings * @subpackage Theme */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; ?> <div id="post-<?php the_ID(); ?>" <?php post_class("epl-listing-post epl-property-blog project-card $epl_masonry_class"); ?>> <div class="project-card-entry"> <div class="entry-header"> <?php if ( has_post_thumbnail() ) : ?> <div class="property-box property-featured-image-wrapper"> <a href="<?php the_permalink(); ?>"> <div class="epl-blog-image"> <div class="epl-stickers-wrapper"> <?php echo epl_get_price_sticker(); ?> </div> <?php the_post_thumbnail( 'epl-image-medium-crop', array( 'class' => 'teaser-left-thumb' ) ); ?> </div> </a> <?php //do_action('epl_property_inspection_times'); ?> </div> <?php endif; ?> </div> <?php do_action('epl_property_before_content'); ?> <div class="entry-content"> <!-- Address --> <div class="property-address"> <a href="<?php the_permalink(); ?>"> <?php do_action('epl_property_address'); ?> </a> </div> <div class="address price"> <?php do_action('epl_property_price'); ?> </div> <div class="epl-tab-section"> <?php do_action('epl_property_tab_section'); ?> </div> <?php $property->get_property_meta('property_building_area'); ?> <div class="entry-excerpt"> <?php echo the_excerpt(); ?> </div> <!-- Price --> </div> <?php do_action('epl_property_after_content'); ?> </div> </div>
Can you please direct me what I am missing.
Kendra ArnoldSpectatorHi Merv,
Me again..I am slowing chipping away at things. A few more questions.
On the project card we are showing some of the property information using this:
<div class=”epl-tab-section”><?php do_action(‘epl_property_tab_section’); ?></div>
The thing is we only want to display: Price, square feet, bedrooms and bath. I did see the meta-boxes.php page but was wondering what the easiest way to display those items separately?And then..I can’t get the price to display. It is not in the single or in the project card. There is a price entered in the listing. Did I miss something?
The below is in the project card php page.
<div class=”address price”><?php do_action(‘epl_property_price’); ?> </div>Thank you!
Kendra ArnoldSpectatorThis reply has been marked as private. -
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.