Hi
I would like to know what currently the best way is to use the SiteOrigin page builder with cpt and metaboxes or custom fields.
Create CPT: I found here that we can make cpt’s with the premium plugin and there are also some other ways, so that is covered I believe. https://siteorigin.com/premium-documentation/plugin-addons/custom-post-type-builder/
single-cpt page: Again with the same premium plugin –> “Create a single Page Builder layout that can be used for all product pages without having to rebuild the layout for each new product added.” + “Make layout changes to the product page layout and have those changes reflected across the entire product catalog.”
archive-cpt page: Again SiteOrigin premium plugin? https://siteorigin.com/thread/custom-post-types-custom-fields-display-with-vantage-and-pagebuilder/ or copy default posts archive page to archive-cpt.php and modify wp query.
Metaboxes – custom fields:
I assume that with the premium plugin you can change everything in the cpt template within the page builder. Is there however a way to use simple input fields like when you use custom meta boxes (https://developer.wordpress.org/plugins/metadata/custom-meta-boxes/), acf, or any other framework for creating custom fields?
Currently I see 2 options and none of them use the template functionality in the Premium plugin
1) making the page with the page builder, copy html + css + loaded scripts, and make the page in single-cpt.php with the custom fields.
2) copy widgets and modify them to use the custom fields
These options are not that fast and not so flexible to modifications.
Is there any faster and more flexible way?
Cheers
Hi Gmeeusen,
The Custom Post Type builder will allow for the the following functionality:
Please note that this was an example use case of the Custom Post Type Builder, not different functionality.
This functionality specifically allows for the mirrors and template system as well as a simple way of custom post types.
Ths is not to suggest that you need SiteOrigin Premium to use SiteOrigin Page Builder on custom post types. For reference, you can enable SiteOrigin Page Builder for a custom post type by navigating to WP AdminSettingsPage Builder and open the General tab. Tick the Custom Post type you wish to enable SiteOrigin Page Builder for.
That’s unrelated and specifically a theme change to allow for the user to create an archive description using Page Builder.
This functionality is present in SiteOrigin Widgets Bundle and doesn’t require an upgrade. Please refer to the SiteOrigin Widgets Bundle Post meta box forms tutorual.
You can also use ACF – there isn’t a direct tutorial for this, you’ll build the meta boxes using ACF and display the data using custom ACF widgets. This isn’t something we can directly assist with.
The Custom Post Type Builder is for a very specific use case, and it’s not the only solution (as mentioned above) to accomplish this.
Woow, had no idea SiteOrigin has a custom post type builder. Just starting to use SiteOrigin and it looks promising.
Awesome info there, thanks!