Link Company (CPT) to Service (CPT)

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

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

Open Support Ticket
  • Author
    Posts
  • #410974

    Dawn
    Expired Member
    Post count: 96

    Hi,

    Am I on the right track linking a custom post type of Company to a custom post type of Service? Trying to get my head round how to connect services offered by a listing to their company. Or am I totally on the wrong track?

    #410976

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    The most common ‘link’ is with the Events plugin. A “venue” is added, and then events are linked to the venue. Each event is unique in itself.

    If the Services you will be describing are the same, but then offered by various listings, then maybe a custom field would serve the need: https://wpgeodirectory.com/docs/core-place-settings/#custom

    For example, I could make a directory of car washes in Los Angeles, and each one offers different services: “Exterior Wash”, “Wheel and Rim Service”, and then “Interior Cleaning”. In that case I would make a custom field in GD > Place Settings , perhaps a multiple select field, with each of those services as an option.

    #410987

    Dawn
    Expired Member
    Post count: 96

    Thank you very much Alex.

    That makes total sense.

    Finding my way around things now (slowly but surely).

    #410998

    Guust
    Moderator
    Post count: 29970
Viewing 4 posts - 1 through 4 (of 4 total)

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

Open Support Ticket