WordPress.org

Ready to get started?Download WordPress

Forums

Great Real Estate
Google maps & tabs dont show (3 posts)

  1. emilywp
    Member
    Posted 2 years ago #

    I am building a real estate site using Great Real Estate and Simple Real Estate plugins for the listing section.

    I have got it mostly working, but google maps doesn't show up, and I can't seem to get the tabs style sheet to work.

    The site is located at: mainstreet-realty.com/staging.

    http://wordpress.org/extend/plugins/great-real-estate/

  2. dennisqwerty
    Member
    Posted 2 years ago #

    Same issue. I'm going to download wp-property

  3. emilywp
    Member
    Posted 2 years ago #

    I was able to get it working. First of all, this was my first wordpress site I made my own theme, and I left out the footer tag to allow javascript, etc into the footer. I found this in one of my sample themes:
    <?php
    /* Always have wp_footer() just before the closing </body>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to reference JavaScript files.
    */

    wp_footer();
    ?>

    It still didn't work after I included this. The problem was a conflict with the google maps code in SRP and GRE. We had to change one of them. We changed the first one from 'google' to 'googlemap' as seen below.
    if ( $googlekey ) {
    $googlepath = "http://www.google.com/jsapi?key=" . $googlekey;
    wp_enqueue_script( 'googlemap', $googlepath, FALSE, false, false );
    wp_enqueue_script( 'google-gre', GRE_URLPATH . 'js/google.gre.js', array( 'googlemap','jquery','jquery-ui-core','jquery-ui-tabs' ), '0.1.0', false );
    }
    else {
    wp_enqueue_script( 'jquery-ui-tabs' );
    }

    }

    Now i just have to work on the CSS to get it to lay out right in my template.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic