Okay
  Public Ticket #2145580
delete Google Map in Search Results Page
Closed

Comments

  • Maria Wiegandt started the conversation

    Hi!

    I would like to delete the Google Map View in the Search Results page. I know, I have to edit the corresponding file in a child theme. I thought this would be the page-templates/page-property-search-results.php 

    But it seems, the map is inserted in an other file ...

    Can you point me in the right direction? I have installed the Child Theme and tried a lot of the files that have "search" in their names but cant seem to find the right one.


    Thanks a lot!

    Maria

  •  691
    Ha replied

    Hi there,

    Can you give me a related link? I will hide it for you by CSS code. It's easier.

    Thanks!


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Maria Wiegandt replied

    Mmh, hiding the map via CSS would be my last option. That is something I could do by myself.

    But if possible I would really like to prevent the loading of the map in the first place. Because, even if the map is invisivle, it would lower the page speed and may cause problems with  the protection of data privacy (that is an important issue for my client).

    It would be ideal if I could override some php file via my child theme. Alternatively, I could also edit the original files (and re-edit them after every update if necessary)

    If you want to look into the site (still under mainenance mode) you can visit it here: https://halle-zwei.de/suche/

    Thank you very much in advance!

  •  691
    Ha replied

    Hi there,

    Ok, fine! So you should overwrite this wp-content/plugins/opal-estate/templates/shortcodes/search-properties.php:10 file via child-theme. You just delete map by code, see the screenshot: https://prnt.sc/p50bcl

    I deleted for you, but you also should copy it into child-theme.

    Best regards!


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Maria Wiegandt replied

    Thank you very much for your fast help! It worked. I've copied the file into my child theme as well.