New Landing How can we help? Themeforest Theme Support Flexform Flexform page builder on custom post types

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Flexform
  • #81078
    Axle
    Member
    Post count: 7

    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

    #81188
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Unfortunately the Page builder is only loaded in the normal Post custom type, and in the products page.

    Best Regards,
    Rui

    #81344
    Axle
    Member
    Post count: 7

    How I can load page builder in my custom post types ?

    #81684
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    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

    #84215
    Ian
    Member
    Post count: 121

    Would 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.

    #84604
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hey 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

    #86421
    Ian
    Member
    Post count: 121

    This seems strait forward enough although I can not find the “composer.php” file for the life of me. Is this the correct path?

    – Ian

    #86477
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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.
    Thanks

    #86576
    Ian
    Member
    Post count: 121

    OK 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

    #86594
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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 Ideas

    #86639
    Ian
    Member
    Post count: 121

    Awesome thanks!

    -Ian

    #86661
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. I’m glad that issue resolved .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #188973
    aerosum
    Member
    Post count: 35

    Hey,

    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.
    #189001
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    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

    #189090
    aerosum
    Member
    Post count: 35

    Worked like a charm. Thanks mate ๐Ÿ™‚

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register