Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,586 through 3,600 (of 3,704 total)
  • Author
    Posts
  • in reply to: use font icon instead of image #1218
    Anh TranAnh Tran
    Keymaster

    Thanks Piet for the great idea! I also think icon font (Dashicons) is much better than images as WordPress already supports it. I will change the plugin to support Dashicons soon.

    in reply to: Clone Group #1207
    Anh TranAnh Tran
    Keymaster

    You mean you can edit fields without touching code? If so, we have 2 extensions for this purpose: MB Builder extension or MB Template extension.

    Regarding the text and image: yes, you can do that. You need to register a group which has 2 sub-fields: text and file_input (do not use any image fields here as they won't work for group):

    $meta_boxes[] = array(
    	'title' => 'Meta Box Title',
    	'post_types' => 'custom-post-type',
    	'fields' => array(
    		array(
    			'id' => 'group',
    			'type' => 'group',
    			'clone' => true,
    			'fields' => array(
    				array(
    					'id' => 'text',
    					'name' => 'Text',
    					'type' => 'text',
    				),
    				array(
    					'id' => 'image',
    					'name' => 'Image',
    					'type' => 'file_input',
    				),
    			),
    		),
    	),
    );
    in reply to: Conditional logic on group/ cloned group #1206
    Anh TranAnh Tran
    Keymaster

    Can you try select instead? I think select_advanced doesn't trigger the correct event when field is updated because it's using select2 library.

    in reply to: Columns and Tabs issue #1199
    Anh TranAnh Tran
    Keymaster

    Can you please show me the code to register meta boxes? Also, is there any errors in the console?

    in reply to: $.timepicker is undefined #1198
    Anh TranAnh Tran
    Keymaster

    How did you integrate Meta Box into your theme? It's quite important here as the twentyfifteen still works. Can you provide more details on that?

    Thanks.

    PS: Here is the documentation on how to include Meta Box in themes/plugins: https://metabox.io/docs/include-meta-box-plugin-themes/

    in reply to: Please, Discount for Core Extensions Bundle #1197
    Anh TranAnh Tran
    Keymaster

    Hi syswperu,

    I'm really sorry to hear that. But I'm afraid that I can't offer the Core Extensions Bundle at $35. The bundle has already 60% discount which is considered very cheap to the total price of all extensions. Besides, you need only 3 extensions ๐Ÿ˜‰

    in reply to: Conditional logic on group/ cloned group #1185
    Anh TranAnh Tran
    Keymaster

    Hi guys,

    Sorry for this inconvenience. I've just updated all files on both Gumroad and on this website, so you can download the latest version now (Conditional Logic now is 1.0.3).

    Thanks for reporting.

    in reply to: Bug: MetaBox Group #1175
    Anh TranAnh Tran
    Keymaster

    I've just updated the code with a fix for this. Can you please try the latest version of Meta Box on Github?

    PS: The video is really helpful! Thanks a lot for this.

    in reply to: Bug: MetaBox Group #1174
    Anh TranAnh Tran
    Keymaster

    Much appreciated. I'm looking.

    Anh TranAnh Tran
    Keymaster

    Just committed a fix for this bug. Can you please try the latest version on Github?

    Thanks.

    Anh TranAnh Tran
    Keymaster

    Hi bucketpress, I'm checking this bug and will add a new fix asap.

    in reply to: Clone Group #1161
    Anh TranAnh Tran
    Keymaster

    Just in the group field, for example:

    'fields' => array(
        array(
            'id' => 'group_id',
            'type' => 'group',
            'fields' => array(
                // Sub-fields here
            ),
            'clone' => true, // This is all you need
        )
    )
    in reply to: Help! Can't make it work #1158
    Anh TranAnh Tran
    Keymaster

    You're using exclude which means do not show on these pages (show on all pages except these). You just need to change it to include which means show only on these pages.

    in reply to: Help displaying group #1157
    Anh TranAnh Tran
    Keymaster

    Yes, it's possible. If you set multiple to true, then the value of $row_value['intiative_links'] will be an array, you need to loop through it to output the result:

    $group_value = rwmb_meta( 'initiatives_group' );
    foreach ( $group_value as $row_value )
    {
        echo '<div class="the_image"><img src="' . $row_value['initiative_image'] . '"></div>
            <div class="the_title">' . $row_value['initiative_title'] . '</div>';
        echo '<div class="the_links">';
        foreach ( $row_value['intiative_links'] as $id )
        {
             echo '<a href="' . get_permalink( $id ) . '">' . get_the_title( $id ) . '</a>';
        }
        echo '</div>';
    }
    in reply to: Clone Group #1156
    Anh TranAnh Tran
    Keymaster

    Yes, it is. To clone a group, please add 'clone' => true to the group field.

Viewing 15 posts - 3,586 through 3,600 (of 3,704 total)