Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1468404

    I haven’t created a custom post type before. Lots of wordpress tutorials out there on this but I can’t find one specifically for Enfold.

    I’m creating a different section of the website that will be managed by a sub-editor. It will describe different projects and include functionality for visitors to read about projects, comment on them and complete surveys and polls. We will use WPForms Pro for the surveys and polls.

    Just thought I’d check with you first before diving in. Do you have any suggestions please?

    #1468406

    Well in the end the portfolio is a custom post type too.
    So you can have a look how enfold handles this posttype: first look goes to single-portfolio.php
    in the middle of that file there is arround line 42 : get_template_part so next file to look for could be : loop-portfolio-single.php

    now there are a lot of files where this new cpt should be inserted – first functions.php to load that new cpt via require_once a register php had to be there.
    then … etc. etc. a lot of work – if you want to do it the right way.

    Aren’t there a lot of Plugins generating CPT’s with a nice UI ?
    https://crocoblock.com/blog/wordpress-custom-post-type-examples-and-plugins/

    #1468455

    Usually I don’t post until I get into trouble. I thought I’d try things differently this time round and ask for advice first :)

    Thank you for those suggestions and others in the past. This is the website I’m working on Palm Cove Vision

    John

    #1468475

    Hi,
    Enfold now supports the Advanced Custom Fields plugin which will help you create Custom Post Types (CPT).
    Screen Shot 2024 10 05 at 7.39.24 AM
    In the Enfold Theme Options ▸ Layout Builder ▸ Show advanced options ▸ Activate Your Custom Post Types For ALB you can enable the Advanced Layout Builder (ALB)
    Screen Shot 2024 10 05 at 7.44.06 AM
    Please see our documentation for further info

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.