• Hi,

    my plugin has multiple blocks. But in repository is shown in wrong order (https://pasteboard.co/x8ncYqyq66Xn.png).

    The form block must be the first.

    So when I search for my block in editor it shows the correst block title: https://pasteboard.co/jMGkHwFm9Nsf.png

    I’m registering the blocks in same function:

    function mortgage_block_init() {
    register_block_type_from_metadata( DIR . '/build' );
    register_block_type_from_metadata( DIR . '/build/input' );
    register_block_type_from_metadata( DIR . '/build/select' );
    register_block_type_from_metadata( DIR . '/build/button' );
    register_block_type_from_metadata( DIR . '/build/result' );
    register_block_type_from_metadata( DIR . '/build/table' );
    }
    add_action( 'init', 'mortgage_block_init' );

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.