Custom Fields
Re-Envisioned
Support Meta Box Builder Vertical Button Group

  • Creator
    Topic
  • #21987
    Resolved jason@customweb.co.za
    Participant

    Hi,

    How could I display the button group vertically and with each button 100% width?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • #21997
    Long Nguyen
    Moderator

    Hi Jason,

    When editing the field group, please click on the tab Code to generate the code of fields, copy and paste to the file functions.php in the theme folder and add the field setting 'inline' => false, just like:

    'fields'     => [
        [
            'id'      => $prefix . 'button_group_i22kty8c5ie',
            'name'    => esc_html__( 'Button Group', 'text-domain' ),
            'type'    => 'button_group',
            'options' => [
                1 => esc_html__( '1', 'text-domain' ),
                2 => esc_html__( '2', 'text-domain' ),
                3 => esc_html__( '3', 'text-domain' ),
            ],
            'inline' => false
        ],
    ],

    To increase the button width, you can use this custom CSS code with the plugin Admin CSS MU to apply the code in the admin area.

    .rwmb-button_group-wrapper .rwmb-button-input-list label {
        width: 90%;
        text-align: center;
    }

    It looks like https://share.getcloudapp.com/E0unxBnQ.

    For more information, please follow this documentation https://docs.metabox.io/fields/button-group/.

    #22030

    Excellent, thank you Long.

    #22037

    Ok that’s sorted.

    Now to views, I cannot get anything other than the post title to display. How to display a simple field value?

    Also, when editing custom fields and saving it clears everything and doesn’t save anything, every time.

    With ACF there is Calculated fields for ACF, which I rely on. There is no such feature for Metabox.

    And the last showstopping issue is that it’s not compatible with Oxygen builder, which is my main tool, so I would like to ask for a refund please. I would have sent it through support but your support form is not functioning correctly.

    Regards,
    Jason

    #22052
    Long Nguyen
    Moderator

    Hi Jason,

    >> Now to views, I cannot get anything other than the post title to display. How to display a simple field value?

    Please follow this video tutorial to know how to get other post fields to display in the view. https://docs.metabox.io/extensions/mb-views/#video-tutorial

    >> Also, when editing custom fields and saving it clears everything and doesn’t save anything, every time.

    Could you please share the code which creates custom fields? And take some screenshots of this issue.

    >> With ACF there is Calculated fields for ACF, which I rely on. There is no such feature for Metabox.

    We haven’t support a field like Caculate field yet but you can easily get the field value with the helper function rwmb_meta() or get the field value in View and use operators +-*/ to show the total value.

    >> it’s not compatible with Oxygen builder

    The plugin Meta Box is compatible with the Oxygen builder to show the custom field value on the frontend, please take a look on this screen record.
    https://www.loom.com/share/6661c86244f045d1ba3f21c7615f5792

    Let me know if you have any questions.

    #22054
    #22055

    I would still like a refund by the way, there is a bit too much manual work to do for almost everything, I thought buying the tool would replace that. Also the views does not work for me even post title doesn’t display.

    And there are strange characters on the page: https://imgur.com/v0RI3zH

    #22104
    Long Nguyen
    Moderator

    I’ve issued the refund for you. If you need Meta Box in the future, you’re always welcome.

    #22130

    Thank you, much appreciated.

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