Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
That’s great @Ed.
Otherwise there’s no other way of doing this in with the current version, but in a little prettier way besides my stuff above? That is, manipulating the post types for dante (page builder) “from outside”, in a plugin in this case?
The thing is that my post type now also is missing the page meta box where you select “Display title” and all that. 🙂 I guess these meta options will be included as well with the filtering solution in the next version?“Solved” it by this:
in swift-framework\page-builder\builder\build.php, line 136 function swiftPageBuilderEditPage();public function swiftPageBuilderEditPage() { $pt_array = $this->swift_page_builder->getPostTypes(); array_push($pt_array, 'my-secret-post-type'); //Added this line foreach ($pt_array as $pt) { add_meta_box( 'swift_page_builder', __('Swift Page Builder', "swift-framework-admin"), Array($this->swift_page_builder->getLayout(), 'output'), $pt, 'normal', 'high'); } }
Not the most beautiful way to do it. It would be nice to be able to register post types globally for this kind of functionallity.
Ok, is there any documentation about how this would be done the right way? Even if I hire a dev, he or she should find documentation somewhere? Or do you mean i should hire a dev with special skills in Swift Page Builder/Dante..?
When i build my own themes and use other layout builders, such as “Page Builder by SiteOrigin” this functionallity works out of the box.
For me it does’nt sounds like rocket science to include the Page builder functionallity to another post type, for me it sounds like I just need to add my posttype in an post type array somewhere 🙂
http://dante.swiftideas.net/developer-documentation is quite thin regarding this, imo.
Hello and thanks for answer.
Is there any way to include the Page Builder if I take my plugin functionallity and implement it as a child theme?
That is, can I create custom post types in a child theme and add the swift page builder functionallity? -
Posted in: We hit Power Elite.