GD > Distance to Post, Get Directions, Change Title

This topic contains 6 replies, has 2 voices, and was last updated by  Guust 3 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #539565

    Carol Gann
    Lifetime Member
    Post count: 25

    Please see https://shops.texasvintageshopper.com/shops/united-states/texas/texarkana/the-squirrels-nest/
    Look in the sidebar and see 2 “Get Directions” this is confusing.
    How do I change the title of the widget “GD > Distance to Post”?

    #539567

    Guust
    Moderator
    Post count: 29970

    You have added a Post Map, which comes with the Directions button.
    Then you also added the Get Directions widget or element.
    Both have a different function. Try them to see the difference.

    Where can we see that title of the “GD > Distance to Post” widget?
    It usually does not have a title.
    But you can change “Distance to” using the language files.

    Thanks

    #539641

    Carol Gann
    Lifetime Member
    Post count: 25

    The Get Directions widget is the one where I want to change the title. If I change the language file won’t it over write my changes on the next plugin update?

    #539642

    Guust
    Moderator
    Post count: 29970

    Changing the wording for the GD > Directions widget is also done in the language file.

    Make sure you put your own language files in the correct spot and they will not be overwritten: https://wpgeodirectory.com/docs-v2/translation/overview/

    Thanks

    #539661

    Carol Gann
    Lifetime Member
    Post count: 25

    I found a CSS answer and added “GPS” at the end. Thank you!
    .geodir_post_meta_title:after {
    content: ‘ GPS’;
    }

    #539670

    Carol Gann
    Lifetime Member
    Post count: 25

    It didn’t work and I cannot find the correct PO file to change the titme name.

    #539677

    Guust
    Moderator
    Post count: 29970

    The string is in the GD core language file, see image.
    …/wp-content/plugins/geodirectory/languages/geodirectory-en_US.po

    Thanks

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

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

Open Support Ticket