Link CPTs together

This topic contains 5 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #530120

    Fulvio Di Stefano
    Lifetime Member
    Post count: 134

    Is it possible to link two or more cpts with posts which don’t have similar address together? like have one main cpt and other cpts where by the address fields are disabled.

    #530122

    Guust
    Moderator
    Post count: 29970

    Yes, you can link listings in a CPT that has no addresses, to listings in a CPT that has addresses.
    Thanks

    #530166

    Fulvio Di Stefano
    Lifetime Member
    Post count: 134

    Okay, I see it works, but quite ugly, any way to edit the template for the linked post type?

    #530171

    Alex Rollin
    Moderator
    Post count: 27815

    With the Custom Post Types addon, each CPT can have a separate Archive item.

    See this page for information about editing the template:
    https://wpgeodirectory.com/docs-v2/templates/archive-item/

    #530186

    Fulvio Di Stefano
    Lifetime Member
    Post count: 134

    What i mean is when you have linked lets say cars cpt to car dealers cpt, is it possible to design the look of cars template when displaying it in the car dealers template?

    #530204

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    You can make a new archive item that is just for cars. That will change the way cars look everywhere.

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