Listing success page edit depending on listing CPT

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

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

Open Support Ticket
  • Author
    Posts
  • #442095

    Alex Howes
    Expired Member
    Post count: 175

    Hello,

    Is it possible to edit the listing success page depending on the CPT of the listing that was submitted? I looked in the CSS but it seems there’s nothing there specifying the CPT. Is there a function I could call to check the listing CPT?

    (Example: I use GD as a job site, and have the CPTs resumes and jobs. If someone posts a resume I’d like to give them a link to look through jobs on the listing success page.)

    Thanks,
    Alex

    #442139

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    no there isn’t a setting for that. I will flag your question for the developers in case they know of a workaround.

    #442147

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You can use this:

    $post_type = get_post_type($_REQUEST['pid']);

    You could use that to add a body class if u wanted or pretty much anything else.

    Stiofan

    #442236

    Alex Howes
    Expired Member
    Post count: 175

    Great, thanks Stiofan 🙂

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount