• Resolved znajdz

    (@audiorelax)


    Hi,
    1. I do not use any maps, I disabled google maps from Directory Settings >> Listing Settings >> Form Fields. but I still see calls for https://maps.googleapis.com/. How can I disable it? Something maybe similar to code in functions.php file.

    Should you give me the code, should I put it in childtheme and if yes, do you offer childtheme for Directoria or do I have to create one myself?

    2. I would love to include another search box on the home page just over the Search Bar Title. I need to put this code <?php echo do_shortcode(‘[wpdreams_ajaxsearchlite]’); ?> or [wpdreams_ajaxsearchlite] to make it work. Is it possible to do it?

    Thanks,
    Adam

    • This topic was modified 5 years, 6 months ago by znajdz.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter znajdz

    (@audiorelax)

    Also, since I do not use any maps, how to disable loading this file: /wp-content/plugins/directorist/public/assets/openstreet/openlayers
    /OpenLayers.js

    Hello Adam,
    1. We didn’t find the call of Google Map when disabled from Form Fields. It may be loading form your theme or other plugin. You may share the link of your website to let us check.

    2. Yes, it is possible. We have added a hook in development version for you to have the ability to add anything before search bar title. We are going to release the development version tomorrow. Then you just have to add the code bellow in your child theme’s functions.php file or you may use the child plugin of Directorist (https://github.com/aazztech/directorist-child).

    function search_listing_before_title() {
        echo do_shortcode('[wpdreams_ajaxsearchlite]');
    }
    add_action( 'atbdp_search_listing_before_title', 'search_listing_before_title' );

    We found that two files of OpenStreetMap was loading even if its disabled which we have fixed in development version that going to be released tomorrow.

    Released the update, please upgrade to the latest version. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘maps.googleapis.com’ is closed to new replies.