Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Joyn › New custom post types: "swift page builder" disappears
New Landing › How can we help? › Themeforest Theme Support › Joyn › New custom post types: "swift page builder" disappears
- This topic has 16 replies, 6 voices, and was last updated 8 years by Kyle – SUPPORT.
-
Posted in: Joyn
-
May 4, 2015 at 8:50 am #171436
Hello,
I created a new custom post types (+ new taxonomy) but when I create a new page, the “swift page builder” button does not appear.
Best regards
PierreAttachments:
You must be logged in to view attached files.May 4, 2015 at 11:30 am #171501Hi,
How did you create new custom post type? Please explain it.
Thanks
MohammadMay 4, 2015 at 12:09 pm #171526In fonction.php, I added a new statut pages (single code):
add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'avocats', array( 'labels' => array( 'name' => __( 'Avocats' ), 'singular_name' => __( 'Avocats' ) ), 'public' => true ) ); register_taxonomy( 'statut', 'avocats', array( 'hierarchical' => true, 'label' => 'Statut', 'query_var' => true, 'rewrite' => true ) ); }
I named this statut “Avocats” (see screenshot “bt-swift-page-builder-missing”)
But when I create a new page (eg:”Test page avocat”), it works but the Swift Page Builder button does not appear.
May 5, 2015 at 9:37 am #171870Hi,
Please provide me wordpress admin login detail to check.
Thanks
MohammadMay 5, 2015 at 1:07 pm #171945This reply has been marked as private.May 5, 2015 at 2:30 pm #171987Hi
So adding a new post type prevents the page builder from working on all other posts types and pages? Or just the new one that you created?
– Kyle
May 5, 2015 at 4:02 pm #172036Only on the new
May 5, 2015 at 4:22 pm #172047Check in Joyn/swift-framework/custom-post-types/clients-type.php as an example.
Your new custom post type should be in this directory and follow the sames steps has other custom post types we have their.
Inside swift-framework/swift-framework.php there is this line, you should have other line to the new file you will create advocat-type.php
require_once( SF_FRAMEWORK_PATH . ‘/custom-post-types/clients-type.php’ );
I’m afraid we can support more this kind of modifications, because it take several time to find this information.
Hope you understand.
-Rui
May 31, 2015 at 7:50 pm #179989Maybe this could help.
http://www.deluxeblogtips.com/2010/07/custom-post-type-with-categories-post.html
May 31, 2015 at 7:56 pm #179991Thanks for the info.
-RuiMay 31, 2015 at 9:58 pm #180022Thanks christian_j, it is interesting !
For my specific question, the solution existed in theme options !! :
Theme Options > Général > Page Builder Options > Page Builder Post Types : select new custom post type 🙂Joyn is a full featured theme !
May 31, 2015 at 10:09 pm #180027Powerfull Joyn 🙂
June 26, 2015 at 7:31 am #188849Hi,
I don’t see Theme Options > Général > Page Builder Options > Page Builder Post Types in my theme installation? 🙁
Can you please tell is there a way to enable it? I also have same issue that I have created a new custom post type and all the options of editing that post which come on other custom types are not there on this post.
Please help.
June 26, 2015 at 10:18 am #188942See screenshot please
Clic on right of “Articles” for add a new custom post type.
Attachments:
You must be logged in to view attached files.June 26, 2015 at 10:20 am #188946Thanks @mengeco
-
Posted in: Joyn
You must be logged in and have valid license to reply to this topic.