Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Flexform › Flexform page builder on custom post types
New Landing › How can we help? › Themeforest Theme Support › Flexform › Flexform page builder on custom post types
- This topic has 15 replies, 7 voices, and was last updated 8 years by Mohammad – SUPPORT.
-
Posted in: Flexform
-
June 9, 2014 at 10:50 am #81078
hey, I have created a custom post type for adding Articles in my project. But Swift page builder is not appearing for this new custom post type.
how it can be possible ??
Regards
June 9, 2014 at 4:51 pm #81188Hi,
Unfortunately the Page builder is only loaded in the normal Post custom type, and in the products page.
Best Regards,
RuiJune 10, 2014 at 7:12 am #81344How I can load page builder in my custom post types ?
June 11, 2014 at 7:59 am #81684Hi
I’m afraid it’s not so simple, as this is more than a small customisation I’m afraid we can’t support for it. Apologies, but we only have time to help people with theme bugs and basic customisations
– Kyle
June 20, 2014 at 5:39 pm #84215Would be super helpful to be able to create a custom post type and use the page builder.
I was kind of counting on that as a function.
June 23, 2014 at 11:34 am #84604Hey guys,
We’re working on adding a post type select for enabling the page builder, but for now you can edit /includes/page-builder/composer/lib/composer.php line 63/65 and include the post type in the array:
$this->postTypes = $pt_array ? $pt_array : array('page', 'post', 'portfolio', 'product');
Hope that helps.
– Ed
June 26, 2014 at 8:26 pm #86421This seems strait forward enough although I can not find the “composer.php” file for the life of me. Is this the correct path?
– Ian
June 27, 2014 at 3:23 am #86477Hi,
That is correct path. I explore more path /wp-content/themes/flexform/includes/page-builder/composer/lib/composer.php. Hopefully that should help to you.
ThanksJune 27, 2014 at 12:00 pm #86576OK that is me not paying attention I was looking to make the same change to Dante, did not realize I got into the flexform forum when doing my search.
-Ian
June 27, 2014 at 1:16 pm #86594Hi,
You should edit /dante/swift-framework/page-builder/builder/lib/builder.php at line 42 and 44
$this->postTypes = $pt_array ? $pt_array : array('page', 'post', 'portfolio', 'product', 'team', 'jobs', 'ajde_events',);
Hope that should help to you.
Thanks ๐
With Best Regards
Swift IdeasJune 27, 2014 at 4:00 pm #86639Awesome thanks!
-Ian
June 28, 2014 at 2:50 am #86661Hi,
You most welcome. I’m glad that issue resolved .
Thanks ๐
With Best Regards
Swift IdeasJune 26, 2015 at 10:47 am #188973Hey,
Thanks for this post.
I am able to get page builder on my custom post. This is really awesome.
One more thing I want. I also wish to have the other styling custom options which are below the post area
i.e. Show/Hide Header, Show/Hide footer, remove/not remove breadcrums etc. (Check the screenshot)
How can I get those?
Many thanks in advance,
– Sumit
Attachments:
You must be logged in to view attached files.June 26, 2015 at 11:17 am #189001Hi,
Please edit meta-boxes.php file at /flexform/includes/
Find this code:-
‘pages’ => array( ‘post’ ),
And insert your custom post type like:-
‘pages’ => array( ‘post’,’custom_post’ ),
-Mohammad
June 26, 2015 at 1:25 pm #189090Worked like a charm. Thanks mate ๐
-
Posted in: Flexform
You must be logged in and have valid license to reply to this topic.