New Landing How can we help? Themeforest Theme Support Joyn New custom post types: "swift page builder" disappears

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Joyn
  • #171436
    mengeco
    Member
    Post count: 558

    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
    Pierre

    Attachments:
    You must be logged in to view attached files.
    #171501
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    How did you create new custom post type? Please explain it.
    Thanks
    Mohammad

    #171526
    mengeco
    Member
    Post count: 558

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

    #171870
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me wordpress admin login detail to check.
    Thanks
    Mohammad

    #171945
    mengeco
    Member
    Post count: 558
    This reply has been marked as private.
    #171987
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    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

    #172036
    mengeco
    Member
    Post count: 558

    Only on the new

    #172047
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Check 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

    #179989
    christian_j
    Member
    Post count: 7
    #179991
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Thanks for the info.
    -Rui

    #180022
    mengeco
    Member
    Post count: 558

    Thanks 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 !

    #180027
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Powerfull Joyn 🙂

    #188849
    aerosum
    Member
    Post count: 35

    Hi,

    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.

    #188942
    mengeco
    Member
    Post count: 558

    See screenshot please

    Clic on right of “Articles” for add a new custom post type.

     

    Attachments:
    You must be logged in to view attached files.
    #188946
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Thanks @mengeco

Viewing 15 posts - 1 through 15 (of 17 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