Custom Fields
Re-Envisioned
Support Meta Box Include Exclude extension is not working ( gives some errors with metabox builder )

This topic contains 3 replies, has 2 voices, and was last updated by  Anh Tran 1 year, 1 month ago.

  • Creator
    Topic
  • #8692

    Ahmed Gamal
    Participant

    View post on imgur.com

    this is the metabox code

    
    
    <?php
    add_filter( 'rwmb_meta_boxes', 'your_prefix_register_meta_boxes' );
    function your_prefix_register_meta_boxes( $meta_boxes ) {
        $meta_boxes[] = array (
          'id' => 'settings-2',
          'title' => 'Settings',
          'post_types' =>   array (
             'post',
             'page',
          ),
          'context' => 'normal',
          'priority' => 'high',
          'status' => 'publish',
          'autosave' => false,
          'fields' =>   array (
             
            array (
              'id' => 'image_advanced_1',
              'type' => 'image_advanced',
              'name' => 'Image Advanced',
              'max_file_uploads' => 4,
            ),
          ),
        );
    
        return $meta_boxes;
    }
    
    

    and this is the code after i click save

    
    <?php
    add_filter( 'rwmb_meta_boxes', 'your_prefix_register_meta_boxes' );
    function your_prefix_register_meta_boxes( $meta_boxes ) {
        $meta_boxes[] = array (
          'id' => 'settings',
        );
    
        return $meta_boxes;
    }
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #8696

    Anh Tran
    Keymaster

    Hi Ahmed, thanks for your report. I’ll check and fix it.

    #8716

    Ahmed Gamal
    Participant

    Thank you , would you please notify me when the bug is fixed

    #8717

    Anh Tran
    Keymaster

    Absolutely!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.