• Resolved andrewwatson

    (@andrewwatson)


    Hi. I know there are multiple Listing Layouts. At least two that i have seen and know about. One that is full width (the default one) and one that has all the page content in container that’s about 1200px wide.

    How do I change to the other listing layout? The NOT full width one?

    Ideally I would like to know set the default to the thinner layout.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter andrewwatson

    (@andrewwatson)

    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?

    anyone facing property listing image issues on the gallery? like this one?
    https://propertyspecialists.asia/properties/mls-920061005-37/
    anyone faced this and got a fix for it?

    <?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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change The Listing Layout’ is closed to new replies.