Forum: Nearby Posts

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Nearby Posts premium extension please open a new premium support ticket.

[Resolved]Extra space before colon (:) in single location (additional infos)

Forums Nearby Posts Extra space before colon (:) in single location (additional infos)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #50688
    anticosti
    Member

    Good morning Eyal 😉
    I am trying to find where can I remove an extra space before “colon” in the single location (additional infos).

    In example:
    I am using this Shortcode:
    [gmw_single_location elements=”map,distance,address,directions_link,additional_info” additional_info=”phone,fax,email,website” item_info_window=”title” units=”k”]

    Which gives me this:
    Phone : 123-456-7890
    Fax : 123-456-7891
    Email : @test.com">test@test.com
    Website : test.com

    I don’t have these extra spaces in the Results page (proximity search listing) (hmmm…)
    I’m a bit puzzled to where or what or which file to edit 😉

    Kind Regards,

    Yves

    #50739

    Hi Yves,
    Looks like you will need to edit a core file for that.

    The file is:
    geo-my-wp/plugins/posts/includes/gmw-ptsingle-post-class.php

    and the space is in line 131:

    Let me know if that helps.

    #50770
    anticosti
    Member

    Hey! Thank you Eyal!
    I edited file (gmw-pt-single-post-location-class.php):
    geo-my-wp/plugins/posts/includes/gmw-pt-single-post-location-class.php
    at lines 119, 125, 131
    where I moved the “:” just before the closing span tag

    All is fine now 🙂

    Kind Regards,

    Yves

    #50774

    You are very welcome Yves. I am glad I could help.

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

You must be logged in to reply to this topic.