Remove Country Name from Address?

This topic contains 4 replies, has 3 voices, and was last updated by  identity 10 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #14500

    identity
    Lifetime Member
    Post count: 445

    Having a hyper-local focus, I don’t need and don’t want to have the country name show up under the address on the listing or if it’s shown on the listing grids…essentially anywhere.

    How can that be turned off?

    cheers

    #14502

    Guust
    Moderator
    Post count: 29970

    You should be able to do this via CSS, something like:

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

    More here:
    https://wpgeodirectory.com/support/topic/change-display-order-of-field/

    #14518

    identity
    Lifetime Member
    Post count: 445

    I was hoping there was a way to actually prevent it versus hiding it.

    While something like this probably wouldn’t trip any search engine spam filters, I generally prefer staying away from any appearance of trying to place content on a page that isn’t accessible to humans.

    cheers

    #14534

    Paolo
    Site Admin
    Post count: 31211

    There is no such option at the moment.

    Please consider that adding so many options to show or not a part of any page, in the end will slow down plugin performances.

    Plugins can’t do everything and anything. But they are open source for a reason. Most part of a template can be modified with 3 lines of code (without affecting plugin performances) and adapted to anyone’s need.

    In case you think it’s really essential you know what to do: Submit a feature request : here

    Thx

    #14542

    identity
    Lifetime Member
    Post count: 445

    Totally understand. I just know that it seems like there are a lot of “locally” focused users here, so wanted to make sure there wasn’t someway already built in that I was missing.

    In this instance, Guust’s solution will probably work fine enough.

    cheers

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