Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1,936 through 1,950 (of 3,708 total)
  • Author
    Posts
  • in reply to: Can't get admin columns to work #10726
    Anh TranAnh Tran
    Keymaster

    Hi Dan,

    1. You can find the info for MB Columns extension here. I understand that there's no explanation in the Builder. I'll think more about updating the Builder to make it clear.
    2. I created a simple single image field and added custom attribute like this:

    https://imgur.elightup.com/AjGtbrS.png

    And here is the result:

    https://imgur.elightup.com/tsq2OL0.png

    in reply to: Metabox Height Not Expanding #10725
    Anh TranAnh Tran
    Keymaster

    Hi Thomas,

    I'm checking and fixing it. Sorry for not letting you know.

    PS: Version 1.1.0 has fixed this. Please update.

    in reply to: Displaying Custom Fields - I feel stupid #10724
    Anh TranAnh Tran
    Keymaster

    Hi Neil,

    I answered you via email, but probably you haven't received it.

    Regarding your case, I think you can insert the value inline in 2 ways:

    • Using the built-in shortcode. Meta Box already has a shortcode for displaying the custom field value. Please see more details in the docs.
    • Or using the integration with BB Themer. It has the "Insert" button (close to the "Connect" button), which insert a shortcode to the text/heading module. It acts exactly like a shortcode and you can use it to insert custom field value inline.

    I hope that works for you. If it still doesn't, please let me know.

    in reply to: "Special Field Type" to group fields? #10713
    Anh TranAnh Tran
    Keymaster

    I got it. So your main purpose is not writing different IDs for groups.

    While this is not recommended, but I think it still works with the current version of Groups. I mean you can set the same ID for sub-fields in different groups. And then you can access to them using the same keys. It should work in most cases. Please just test it.

    in reply to: Get a customizer setting #10712
    Anh TranAnh Tran
    Keymaster

    Yes, it's possible.

    When you create a settings page with MB Settings Page, remember to set the option_name to theme_mods_$themeslug. Then all the settings in the customizer will be available for the settings page and vise versa.

    For more info, please see the docs.

    Anh TranAnh Tran
    Keymaster

    Hi,

    Yes, you can extend the meta box objects. Please use this snippet to get all meta box instances:

    $meta_boxes = rwmb_get_registry( 'meta_box' )->get( 'all' );
    foreach ( $meta_boxes as $meta_box ) {
        // Do whatever you want
    }

    Then you can filter, add/remove more settings to meta boxes. The meta box registry contains all references to real meta box objects. So be careful. Because what you change will affect the whole code.

    PS: Using the filter rwmb_meta_boxes just gives you a copy of array of meta box settings, not real meta box objects.

    in reply to: Unable to exclude metabox field with MB Include Exclude #10710
    Anh TranAnh Tran
    Keymaster

    It's a good alternative solution!

    in reply to: shortcode does not accept all wp_login_form parameters #10709
    Anh TranAnh Tran
    Keymaster

    Hi,

    The plugin's shortcode doesn't support all wp_login_form() parameters at the moment. I'll update to support them.

    in reply to: Can't get admin columns to work #10708
    Anh TranAnh Tran
    Keymaster

    Hi Dan,

    Please use the Custom Attributes for the image_advanced field. The Columns settings is for MB Columns extension.

    in reply to: How to save image data using custom tables? #10687
    Anh TranAnh Tran
    Keymaster

    I got it. You still can save image in the database by encoding it. Use a tool like this, or base64_encode function to convert the image file into a text string. Then you can save it. However, you need to handle outputting the image by decoding it, because the value stored is the encoded data, not the real image.

    in reply to: "Special Field Type" to group fields? #10686
    Anh TranAnh Tran
    Keymaster

    Do you mean just grouping fields via UI? A kind of putting them in a wrapper div, but no touch on the data and each of fields still can store value as normal?

    in reply to: Shortcode to read out specific array elements #10683
    Anh TranAnh Tran
    Keymaster

    Glad that you figured it out. Nice solution!

    in reply to: Select w/ Custom Post Type #10682
    Anh TranAnh Tran
    Keymaster

    Yes, it's possible. But there are some notes:

    • If you just need to populate posts from another post types, please use "Post" field.
    • You can populate other options programmatically, e.g. with code. It's kind of impossible to do with the Builder, since its purpose is for manual adding options.
    in reply to: "Special Field Type" to group fields? #10681
    Anh TranAnh Tran
    Keymaster

    Hi,

    Have you tried MB Group? It's the group field type, and supports all kind of sub-fields, including sub-groups. And it's cloneable (repeatable).

    in reply to: WYSWIYG field and Shortcodes #10680
    Anh TranAnh Tran
    Keymaster

    Yes, that's right!

Viewing 15 posts - 1,936 through 1,950 (of 3,708 total)