I am trying to utilize various CPTs for a project and see conflicting methods of how to achieve this within the forum entires. It used to be a short few lines added to the custom child theme functions file, but now it seems to have changed. Is there updated documentation for this anywhere?
I would like to be able to pull CPTs and their taxonomies, as well as be able to use the ALB for editing those CPTs.
Thank you for the inquiry.
You can actually use the plugin Custom Post Type UI (CPT UI) to create custom post types and taxonomies in your site. This will be recognized by theme automatically. If you want to create your own manually, just check the portfolio post type registration in the /enfold/includes/admin/register-portfolio.php file for reference. You can use it as a template for other post types that you are planning to create.
This is the CPT UI page.
This documentation should also help.
Thank you, Ismael. The last part was what I was looking for. It sounded like things were changing in the recent past as to how Enfold handled CPTs, so before digging into a potentially deep project, I wanted to make sure I was in line with the best practices for Enfold compatibility.