V2 – Not to display full address in details

This topic contains 7 replies, has 5 voices, and was last updated by  Alex Rollin 5 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #474988

    goakes
    Buyer
    Post count: 143

    Hello

    Is there a way for a user when creating a listing not to show their full address in the detail page despite this being required to set up the listing? Only to show the main city/Region.

    #474993

    Kor
    Moderator
    Post count: 16516

    Hi goakes,

    Thanks for your post. You can achieve this by hiding it in the CPT Settings > Custom Fields > Address > Advanced Settings as shown in the attached screenshot.

    #475021

    Guust
    Moderator
    Post count: 29970

    To hide the Street Address you can use this CSS:

    span[itemprop="streetAddress"] {display: none;}

    Or users can just add “my business” or whatever in the street address field.

    Thanks

    #475048

    justmark
    Full Member
    Post count: 375

    Kor, you should add the option to hide the street address much like you can hide the city, region, etc.

    #475135

    Kor
    Moderator
    Post count: 16516

    Hi justmark,

    Thanks for the suggestion.

    Hi goakes,

    Did it work for you?

    Thanks!

    #475181

    Alex Rollin
    Moderator
    Post count: 27815

    We are testing a new address widget now, it should be available in the next release. If the solutions above don’t work for you, then try the widget when it comes out.

    #475200

    goakes
    Buyer
    Post count: 143

    Hello
    When creating a listing, I was looking for an option for the user to decide whether to show their address rather than disabling or not making it visible at all.

    I would be interested to see what the widget does in the next release.

    Thanks for your support

    #475239

    Alex Rollin
    Moderator
    Post count: 27815

    That will not be added. You can add a checkfield for the user to say “Hide my address” and then use 3rd party plugins or custom code to show/hide on the frontend. We have plans for role visibility but we don’t have a timeline for the development yet.

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