Linking to business mandatory?

This topic contains 5 replies, has 3 voices, and was last updated by  Heather Watson 6 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #434722

    Heather Watson
    Expired Member
    Post count: 14

    Is it possible to make a new listing in a CPT have a requirement that it be linked to a listing in another CPT?

    For example, businesses would list in the Places CPT and then I would have a People CPT, so a business can have a tab that lists their employees with links to that employee’s page where they can list their specific expertise/specialties/bio? I don’t want people to be able create a listing in the People CPT that’s not associated with a location.

    Thanks!

    #434764

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I’m sorry that would require a customization.

    there is not a setting for that, to require that a place be linked, and linking is an optional field.

    Can you say more about the use case? Maybe there is another way to accomplish this. Who will be adding the listings, the employees?

    #434794

    Heather Watson
    Expired Member
    Post count: 14

    I think it would be the business listing the employees. Right now all I can think is adding wording to the pricing package saying that listings added without a link to a business will not be approved, but I see the possibility people adding them anyway.

    On that note, what happens if you don’t approve a listing, do you have to go and manually refund their payment?

    Maybe I could remove the Add People option from the dashboard and just provide a direct link to that package in the welcome email?

    #434826

    Paolo
    Site Admin
    Post count: 31211

    You’ll probably need to modify this script slightly to adapt it to your situation, but this topic treated the same argument: https://wpgeodirectory.com/support/topic/geodirectory-linked-listings/#post-430525

    Thanks

    #434827

    Paolo
    Site Admin
    Post count: 31211

    If you need help modifying that script, you can find freelancers for hire here: https://geodirectoryexperts.com/

    Thansk

    #435027

    Heather Watson
    Expired Member
    Post count: 14

    Great thank you, that script worked for making the CPT require a business link. It doesn’t do the same for the events though which is kinda confusing since it seems the events call the same “propertyform” ID. But CPTs were my main concern so awesome.

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