How to define Archive and Details pages for new created CPT? Shortcodes missing

This topic contains 11 replies, has 4 voices, and was last updated by  Stiofan O’Connor 6 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #444636

    Marc
    Expired Member
    Post count: 274

    How can I change this sites for new added CPT ??

    GD Details
    GD Archive
    GD Archive Item

    Shortcodes for added CPT are missing as well. There are no shortcodes at all for new CPT.
    eg. gd_post_meta shortcode …

    I created new CPT “Projects”. Where can I make these settings?

    Thanks for help

    #444640

    Alex Rollin
    Moderator
    Post count: 27815

    CPTs do not have independent templates, they all use the templates referenced at

    GD – Settings – General – Pages

    Each CPT does have it’s own settings, though, like

    Places -> Hospital Settings -> Custom Fields

    #444641

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Marc, we have not implemented this yet with the first beta release but it is in our plans to let is use different templates.

    Thanks,

    Stiofan

    #444666

    Marc
    Expired Member
    Post count: 274

    Hi Stiofan

    It is really important to have different templates for CPT in order to style the output, specially the Details template. Please add this functionality soon.

    And having CPT related shortcodes for it’s fields too. gd_post_meta shortcode is the most important one here.

    Can you tell me when you will add this functionality?
    Thanks a lot!

    Marc

    #445001

    Paul
    Expired Member
    Post count: 171

    Really need these shortcodes please

    #445678

    Marc
    Expired Member
    Post count: 274

    Hi Stiofan, any update when you will integrate templates and shortcodes for CPT?

    This is a really important issue, because right now I cannot style the CPT detail page and show any CPT related output in Archive Views.

    Or is there another solution to style the detail page for now?

    Thanks!

    #445682

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    If it just CSS u are after each CPT has a body class of “single-gd_place”.

    This feature is not in these releases but i’m working on Events tomorrow which will prob require this so most likely it will be in the next release.

    Thanks,

    Stiofan

    #445737

    Marc
    Expired Member
    Post count: 274
    This reply has been marked as private.
    #446158

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Marc,

    This feature is in the latest release.

    Thanks,

    Stiofan

    #446162

    Marc
    Expired Member
    Post count: 274
    This reply has been marked as private.
    #446233

    Marc
    Expired Member
    Post count: 274

    Hi Stiofan,

    I dont see any new CPT related shortcodes to use in the new templates. gd_post_meta shortcode should show the new CPT fields that I added.
    Without this I cannot customize the output.

    Can you please add this shortcodes?

    Thanks !!

    #446285

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This is an obscure bug, i have fixed it and it will be in the next release.

    Thanks,

    Stiofan

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