Design Different Detail Page per CPT

This topic contains 5 replies, has 2 voices, and was last updated by  Simone 9 years, 12 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #22805

    bynatasha
    Free User
    Post count: 27

    Hi!

    I went through the documentation and the forum but I cannot find something relevant.
    I understand how to work on changing the Detail page, but is it possible to create a different Detail page per CPT?
    So if have two CPT listings CPT#1 and CPT#2 I can then create Detail Page for CTP#1 and Detail Page for CPT#2.

    If there’s an answer somewhere pls just point me to the right direction.

    Kat

    #22849

    Simone
    Expired Member
    Post count: 3515

    Hello Kat, what pops in my mind is to create a conditional layout based on the CPT, so, if CPT is #1 load this, if #2 load that if #3 load else. I don’t know how skilled you are in PHP, but this will be the only solution, I guess.

    #22899

    bynatasha
    Free User
    Post count: 27

    Hello again Simone!
    It looks like you’re my guardian angel these days! 🙂

    Yes, this makes sense. I will give it a try.

    Kat

    #22901

    Simone
    Expired Member
    Post count: 3515

    Great, let us know 🙂

    #22902

    bynatasha
    Free User
    Post count: 27

    Could I also use the same tactic for the listing you think?

    #22903

    Simone
    Expired Member
    Post count: 3515

    Yes it would work the same way

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