Place Custom Fields – description and also linefeed

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

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

Open Support Ticket
  • Author
    Posts
  • #414534

    jahusdtc
    Expired Member
    Post count: 162

    In Geo > Place Settings > Custom Fields, I am working on clarification of description for folks who are entering the information.

    Really I have two different questions.

    1. My Address field has Front End title of Blank (i.e., nothing) and Admin Title of Address.

    However, in the Add Place screen, this results in the description prior to the input becoming “Post_Address.”

    If in Place Settings, I change the Front End title to Address, the Add Place screen shows a description in the above situation of: Address.

    I chose the blank because in detail and listing, I don’t WANT the little home icon and the word Address.

    How should I handle this?

    2. In the same area of Place Settings, I am changing front end DESCRIPTION so the user knows to put in http:// or https:// BEFORE they get an error message (that always irritates people!)

    Here’s what I’m trying to say…but I want to put a carriage return or linefeed where I’ve shown <RIGHT HERE> in the line below.

    How can I insert a linefeed here?

    Hoped-for description:

    You can enter your business or listing website.<RIGHT HERE>Include http:// or https:// in front of the website — whichever is appropriate.

    Thanks for looking into this.

    #414558

    Guust
    Moderator
    Post count: 29970

    1. Just add this CSS:

    .post_address .geodir-i-location {display: none;}

    2. That can only be done using the language files. See images.
    https://wpgeodirectory.com/docs/translate-core/

    Thanks

    #415465

    jahusdtc
    Expired Member
    Post count: 162

    Thank you for the images. It will be in my ultimate “to-do” list.
    Thought inputs were HTML, not text.

    #417418

    jahusdtc
    Expired Member
    Post count: 162

    Okay, not ready for ULTIMATE to-do list, but trying to do this.

    I have changed other things with PoEdit, so have some experience with it.

    I changed the Website Description translation per the attached. (First Image – PoEdit)

    It doesn’t show. (2nd Image – Premium Package – FrontEnd)

    I have another attached image of entry under Geo>Place Settings (only mine is called Business). (3rd Image – BackEnd)

    I tried to delete the Geo>Place Settings entry, thinking the .PO string only showed if MY suggestion in Geo>Place frontend description was blank.

    Still not seeing it.

    Obviously, your screen shot SHOWED you had done the action, so it worked.

    Any idea what I should be doing?

    #417460

    Guust
    Moderator
    Post count: 29970

    If you overwrite the standard text in the backend, then that takes precedence over the language file.
    So if you want to use the language file, change the backend back to the original string and the translation should work.

    Thanks

    #417475

    jahusdtc
    Expired Member
    Post count: 162

    You were right…again!

    Another part of my problem was that I had cleared the browser cache, but not GD Booster.

    Quick and not critical question. I have added two additional social media sources – LinkedIn and Instagram.

    I have used the facility in the plugin itself to add a frontend description…and it works fine.

    IS there a way to add a string to the .PO and use that string (which would allow html)? It would just look more like the other social media descriptions that way.

    This is NOT critical, just curious whether that capability — in addition to the other rich capabilities of GeoDirectory — is available.

    #417528

    Alex Rollin
    Moderator
    Post count: 27815

    That ‘may’ work but it is not recommended.

    You can add classes in the custom field settings, and then style them to match the other fields.

    #417551

    Guust
    Moderator
    Post count: 29970

    Please review https://wpgeodirectory.com/docs/translating-custom-fields/
    That article explains how to translate new custom fields you add yourself.

    Thanks

Viewing 8 posts - 1 through 8 (of 8 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