• Hey folks,
    I’m wondering if you can point me in the right direction. I’d like to create a custom post type in order to create profiles of organizations on our website.
    I’m not a developer, but can read and follow instructions (most days). I’ve been reading that Customizr was written in a different structure than most themes and therefore the guides that I read about manually creating custom post types dont’ apply to Customizr.

    Since the standard tutorials for manually creating CPT don’t apply, I’ve looked at a few plugins like Types, but get stuck again when displaying the CPT on the site.

    I may not be searching for the right information. Can you help point me to what components I should be searching for when looking to do this?

    Thanks much,
    Ben

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter benab

    (@benab)

    Well I’m still searching. I take it that not many folks create post types. Any pointers or links are welcome.

    Ben

    I’ve used CPT UI but not with Czr. Just tried on my test system and it works fine.

    Thread Starter benab

    (@benab)

    Thanks for your input. Yes, I also tried CPT UI, but wasn’t able to figure out how to display the posts because it only creates the CPT.

    Were you able to display the CPT on your site?

    Thanks again!

    I used the default Movie. This raised a new Admin Dashboard item for Movie including Add Movie.

    Then used another plugin to add links to the menu to read the CPT

    Thread Starter benab

    (@benab)

    rdell-
    Thanks so much for verifying that CPTs can indeed work in Czr. It pushed me into searching for the right info.

    What I did to display the content of my Organizations CPT:
    – installed CPT UI and Advanced Custom Fields
    – Followed the instructions here to create a template named “Organiztion posts” (page_organiztions.php). Then I created a page called Organizations and associated that template to the page.
    – created a template named “Display profiles” (single-organization.php) and copied the contents of index.php into that. Then added the fields from Advanced Custom Fields that file as well.
    – put both files in my child theme

    I’m sure there are many ways to do this, but this seemed to work for me.

    Thank again!
    Ben

    Sorry, I also used ACF as part of my solution. In fact, I’d bought the Repeater addin as a donation and received a free upgrade to ACF Pro recently so that was worthwhile.

    Glad it worked for you.

    – created a template named “Display profiles” (single-organization.php) and copied the contents of index.php into that. Then added the fields from Advanced Custom Fields that file as well.
    – put both files in my child theme

    Hey @benab (or anyone that can help), can you elaborate a bit on what you did here? I’ve followed you all the way up to this point. Did you export the field group to php and then paste that in the single-organization.php file you created?

    If so, I’ve done that and I’m unable to get my custom post types to actually show up on the site. I’d be very grateful for a tad bit more detail on how you got it to work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Puzzlement about Custom Post Types in Customizr’ is closed to new replies.