Ok to help others who want a different listing layout, to make a non full-width listing layout for Essential Real Estate, I simply changed the default page template used by the Property listing page.
So, I just looked up the Property listing page, edited it and then changed the template to one of my theme templates which had a container. The result was that all property listings now appear neatly inside a container.
I hope that is helpful to someone.
Thanks for the tip! Could you send a link to a page just to see how it looks? Also, are you having any issues with the tabs on the single listing pages? Only the ‘Overview’ tab works on mine. Everything else doesn’t and I can’t seem to get a response from them
Hi I’ve been trying to do the above but with no luck. Where did you find the default page template?
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
get_header('ere');
/**
* ere_before_main_content hook.
*
* @hooked ere_output_content_wrapper_start - 10 (outputs opening divs for the content)
*/
do_action( 'ere_before_main_content' );
do_action('ere_single_property_before_main_content');
if (have_posts()):
while (have_posts()): the_post(); ?>
<?php ere_get_template_part('content', 'single-property'); ?>
<?php endwhile;
endif;
do_action('ere_single_property_after_main_content');
/**
* ere_after_main_content hook.
*
* @hooked ere_output_content_wrapper_end - 10 (outputs closing divs for the content)
*/
do_action( 'ere_after_main_content' );
/**
* ere_sidebar_property hook.
*
* @hooked ere_sidebar_property - 10
*/
do_action('ere_sidebar_property');
get_footer('ere');
This is the code that moves the sidebar to the footer for single listing… How do I edit it to make the single show like normal posts ( not full width) and show the sidebar on the left instead of in the footer?