Map Bubble File

This topic contains 5 replies, has 2 voices, and was last updated by  Paolo 8 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #234193

    John Gallagher
    Free User
    Post count: 11

    Hi
    What file do I need to edit to add or remove information from the Map bubble that appears when I click on a place on the map. Want to edit the address and name positions.
    Also,
    When inputting an address on the add listing or backend add place page, If google does not recognize the first line of the address (Address*) does this mean I have to put in the whole address here and also the region and city from the dropdowns ?. I know its a bit vague but I’m working with Townlands in Ireland and google does not recognize most of them, They are small area’s with in a county used years ago for postal address’.

    What field does GD pull the info for the Address in the bubble ?
    Is it just the Address field or a combination of region and city too ?

    Thanks.

    #234332

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you should never modify a plugin file for a customization. There are hooks and filters that allows to do that without losing the option to auto update your plugins.

    Please see: https://wpgeodirectory.com/support/topic/show-profile-description-in-bubble-map/#post-212278

    Let us know how you went,

    Thank you

    #234384

    John Gallagher
    Free User
    Post count: 11

    Paolo,
    Is this hook in the geodirectory-functions -> post_functions.php ?
    * Filter to change infowindow html ???

    How would I go about, for example, The Time, The Favorites and the Ratings from the window.

    Wouldn’t that file be updated in any update I do.

    Maybe there is another file I should be editing, not so good with hooks, in fact I haven’t got any idea where to look for them !!.

    Thanks

    #234397

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    the function to use that hook would be placed in your child theme functions.php file.

    Did you read any of the other topic about this matter? https://wpgeodirectory.com/support/search/?bbp_search=geodir_custom_infowindow_html

    Let us know,

    Thanks

    #234690

    John Gallagher
    Free User
    Post count: 11

    I did read the posts.
    I am using GD just as a plugin so I have to learn more on making a “child theme” from a plugin.
    I’ll have a look in the forum today to see if this can be done, I think it can but i’m not sure of the file structure to do it.

    If you have any good reference post on this i’d be greatful.

    Its mostly css changes I want to do with a few hooks to be changed here and there.

    Thanks

    #235062

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you don’t need to make a child theme from the plugin. You are supposed to simply add code to your active theme functions.php file and your active theme should be a child theme, so that if you update the parent theme, you don’t lose your customization.

    https://codex.wordpress.org/Child_Themes

    Any CSS custom code can be pasted in GeoDirectory >> Design >> Scripts >> Custom CSS, that way will be saved in the database and it will be safe for updates.

    https://wpgeodirectory.com/docs/customizing-your-style/

    Please also read our support policy: https://wpgeodirectory.com/support-policy/

    Customization are beyond support. If you have doubts about how to proceed with them, you should hire a freelance developer to help you out.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount