What's the best way to mark a business closed/out of business?

This topic contains 4 replies, has 3 voices, and was last updated by  jkirker 9 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #47427

    jkirker
    Lifetime Member
    Post count: 298

    What’s the best way to mark a business closed/out of business?

    I don’t want to delete/remove a listing. I want to leave it intact with the history of reviews, etc.

    Have I overlooked the option for this?

    #47449

    Paolo
    Site Admin
    Post count: 31206

    HI,

    there is no option for this.

    If you don’t want to put it in draft or delete it, you should probably add a note in the profile and maybe in the Time field to say that the business is closed/out of business.

    Thanks

    #47452

    jkirker
    Lifetime Member
    Post count: 298

    Is there a method to hook into custom fields so that I could wrap some conditional logic around things and display a closed banner if the value of a custom field exists?

    #47498

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You can use this hook: https://github.com/GeoDirectory/geodirectory/blob/d8860ae4fc02557ac6c05dbe0e0ea0735541f968/geodirectory-templates/listing-listview.php#L116

    You are passed the $post value which will have all the custom field info added to it so you can add your own banner as a conditional.

    Thanks,

    Stiofan 🙂

    #48790

    jkirker
    Lifetime Member
    Post count: 298

    Sweet – thanks Stiofan!

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