Forum Replies Created
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
silico26Spectator
i think the issue was updating my theme and not having my edited php files in my child theme. luckily i had backups of my files saved, and after re-uploading them the problem is now fixed.
silico26SpectatorOk so basically there is not a simple way in the admin to set a custom tag for the property in addition to (not replacing) “New” i.e. “coming soon” or “under contract” etc?
- This reply was modified 8 years, 12 months ago by silico26.
silico26SpectatorHi thanks for your reply.
I found the label settings that you referenced (dashboard > easy property listings > settings) but in my actual listing posts I’m not seeing any reference to where I can assign these label options (i.e. new, home open, leased, etc) to a particular listing. I feel like I am overlooking something that is probably in plain sight.
Thanks
silico26SpectatorI have solved this, although I’m not even sure how… a lot of trial and error 🙂
silico26Spectator@merv barrett thanks for pointing me in the right direction. i tried removing the code in my single-listing.php file as you suggested above in post #7170:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php do_action( 'epl_property_single' ); ?> <?php comments_template(); endwhile; else: ?>
is the third line a typo? why would you remove this line that you’ve just added?
<?php do_action( 'epl_property_single' ); ?>
i did some testing and when removing all of the code suggested (as well as just bits of it) it seems to trigger a white page of death.
thanks
silico26Spectatori also tried to clean up the page by removing the author/property manager area below the map, which worked, but it’s also repeating my description/images for some reason. any insight?
content-listing-single.php file:
<?php /* * Single Property Template: Expanded * * @package easy-property-listings * @subpackage Theme */ ?> <div id="post-<?php the_ID(); ?>" <?php post_class( 'epl-listing-single epl-property-single view-expanded' ); ?>> <div class="entry-header epl-header epl-clearfix"> <div class="title-meta-wrapper"> <div class="entry-col property-details"> <?php do_action('epl_property_before_title'); ?> <h1 class="entry-title"> <?php do_action('epl_property_title'); ?> </h1> <?php do_action('epl_property_after_title'); ?> </div> <div class="entry-col property-pricing-details"> <?php do_action('epl_property_price_before'); ?> <div class="property-meta pricing"> <?php do_action('epl_property_price'); ?> </div> <?php do_action('epl_property_price_after'); ?> <div class="property-feature-icons epl-clearfix"> <?php do_action('epl_property_icons'); ?> </div> </div> </div> </div> <div class="entry-content epl-content epl-clearfix"> <?php do_action( 'epl_property_featured_image' ); ?> <?php do_action( 'epl_buttons_single_property' ); ?> <div class="tab-wrapper"> <div class="epl-tab-section"> <h5 class="tab-title"><?php echo apply_filters('property_tab_title',__('Property Details', 'epl')); ?></h5> <div class="tab-content"> <div class="tab-content property-details"> <h3 class="tab-address"> <?php do_action('epl_property_address'); ?> </h3> <?php do_action('epl_property_land_category'); ?> <?php do_action('epl_property_price_content'); ?> <?php do_action('epl_property_commercial_category'); ?> </div> <div class="property-meta"> <?php do_action('epl_property_available_dates');// meant for rent only ?> <?php do_action('epl_property_inspection_times'); ?> </div> </div> </div> <div class="epl-tab-section"> <h5 class="tab-title"><?php _e('Description', 'epl'); ?></h5> <div class="tab-content"> <!-- heading --> <h2 class="entry-title"><?php do_action('epl_property_heading'); ?></h2> <h3 class="secondary-heading"><?php do_action('epl_property_secondary_heading'); ?></h3> <?php do_action('epl_property_content_before'); the_content(); do_action('epl_property_content_after'); ?> </div> </div> <?php do_action('epl_property_tab_section_before'); ?> <div class="epl-tab-section"> <?php do_action('epl_property_tab_section'); ?> </div> <?php do_action('epl_property_tab_section_after'); ?> <?php do_action( 'epl_property_gallery' ); ?> <?php do_action( 'epl_property_map' ); ?> <?php do_action( 'epl_single_extensions' ); ?> </div> </div> </div> </div> <!-- end property -->
- This reply was modified 9 years ago by silico26.
silico26Spectatorthanks, it looks like this worked. i didn’t comment anything out though, not sure if that’s required or just good practice to clean up the code?
-
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.