Title: Map
Last modified: March 10, 2021

---

# Map

 *  Resolved [mariaharwen](https://wordpress.org/support/users/mariaharwen/)
 * (@mariaharwen)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/map-21/)
 * Hi! I love the new version!! But I have some issues.=( Can you help me? I can
   ´t visualice the maps since the last actualization. Apart from that in all listing
   page and in the single page the link’s location doesn´t work.
 * And I have a problem with these script. It doesn´t work now
 *     ```
       jQuery(document).ready(function($){
   
           $(".atbd_contact_info ul li").children().each(function() {
             if ($(this).is(":contains('Whatsapp')")) {
               	$(this).children().addClass('fa-whatsapp').removeClass('fa-phone').css({'font' : 'normal normal 900 16px/2 "Font Awesome 5 Brands"'});
                    var whatsappNumber = $(this).next().text();
               	 var selectwaNumber = $(this).next().children();
                    selectwaNumber.attr('href', 'https://wa.me/'+ $.trim(whatsappNumber));
               	 selectwaNumber.attr('target', '_blank'); 	
             }
           });
       });
       ```
   
 * I could add the whatsapp icon but I need to link the number with the app too.
   It is possible now?
    Thanks!!!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmap-21%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Rafiz Sejim](https://wordpress.org/support/users/rafizsejim/)
 * (@rafizsejim)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/map-21/#post-14250857)
 * Greetings,
 * I apologize for the delay. Due to the sudden surge in tickets, temporarily you
   might experience unusual delays.
 * The map issue has been fixed, make sure to add the map on Single Listing Layout
   Builder > Content.
 * Also, please update the code with the following. This should work.
 *     ```
       jQuery(document).ready(function($){
   
           $(".directorist-details-info-wrap .directorist-single-info-phone").children().each(function() {
             if ($(this).is(":contains('Telefono')")) {
                   $(this).children().children().addClass('fa fa-whatsapp').removeClass('la la-phone').css({'font' : 'normal normal 900 16px/2 "Font Awesome 5 Brands"', 'width': '35px'});
                    var whatsappNumber = $(this).next().text().replace(/[-]/g, '');
                    var selectwaNumber = $(this).next().children();
                    selectwaNumber.attr('href', 'https://wa.me/'+ $.trim(whatsappNumber));
                    selectwaNumber.attr('target', '_blank');   
             }
           });
       });
       ```
   
 * Regards,
 *  Thread Starter [mariaharwen](https://wordpress.org/support/users/mariaharwen/)
 * (@mariaharwen)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/map-21/#post-14333411)
 * Hi! thanks so much for the answer. I try the solution you gave me but it doesn
   ´t work, I change the name of the field “Whatsapp”, because it is a custom field
   but nothing happens. (I need to do that in the grid listing and in the single
   listing)
    And the same thing with the address. I need to make a link in the address
   to click (in the grid listing) in order to direct me to googlemaps page. In previus
   versions, you could do that. Thanks!!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Map’ is closed to new replies.

 * ![](https://ps.w.org/directorist/assets/icon-256x256.gif?rev=3185058)
 * [Directorist: AI-Powered Business Directory, Listings & Classified Ads](https://wordpress.org/plugins/directorist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/directorist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/directorist/)
 * [Active Topics](https://wordpress.org/support/plugin/directorist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/directorist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/directorist/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mariaharwen](https://wordpress.org/support/users/mariaharwen/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/map-21/#post-14333411)
 * Status: resolved