Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,041 through 2,055 (of 3,959 total)
  • Author
    Posts
  • in reply to: No wpautop - pulling meta from blog page #10359
    Anh TranAnh Tran
    Keymaster

    Hi,

    This line is correct:

    echo wpautop( $rwmb_meta( 'blog_intro', '' $blog_id ) );

    However, both wpautop and non-wpautop versions have nothing to do with div tags. They only wrap paragraphs into p tags and ignores the br. The div must be entered in the field content. So I'd suggest you ask for the access to the field content and make the change manually, or ask who entered that check the markup in the "Text" mode.

    Anh TranAnh Tran
    Keymaster

    Hi Alex,

    All values in the custom attributes are treated as strings. If we make it run as PHP code, then we have to use something similar to eval, which can open to many security issues. I think it's should be avoided in this case. If you want to do that, please modify and use the exported code instead.

    in reply to: ✅BUG - validating fields in tabs #10344
    Anh TranAnh Tran
    Keymaster

    Hi Alex,

    If you're using the validation, then you're able to set the error message for each field. So, with specific messages, users will know which field has error and will be able to find it in tabs.

    in reply to: Add custom fields to the builder #10342
    Anh TranAnh Tran
    Keymaster

    Hi Alex and Guy,

    As Guy said, it's true that the builder doesn't support custom field types at the moment. We built it with AngularJS and there's some limitation in the code that we couldn't make it possible for developers.

    Anh TranAnh Tran
    Keymaster

    Hi, it’s on the plan and I’ll start working on that next month.

    Anh TranAnh Tran
    Keymaster

    Hi Guy, I got it. Let me find the best way to hide/replace the dashboard.

    in reply to: Apply specific post type media filters #10325
    Anh TranAnh Tran
    Keymaster

    Yes, you can do that with the filter, like this:

    add_filter( 'rwmb_media_add_string', function( $string ) {
        $screen = get_current_screen();
        return 'page' === $screen->post_type ? '+ New File' : $string;
    } );
    in reply to: Field file_upload change options #10324
    Anh TranAnh Tran
    Keymaster

    Hi, this can be done with CSS. Here is a trick to output quick CSS for the field without enqueuing new CSS file:

    <?php
    add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) {
        $meta_boxes[] = [
            'title' => 'Test Meta Box',
            'fields' => [
                [
                    'type' => 'file_upload',
                    'id'   => 'test',
                    'name' => 'File Upload',
                    'after' => '<style>.rwmb-edit-media { display: none; }</style>'
                ]
            ],
        ];
        return $meta_boxes;
    } );
    in reply to: Install "Required" plugins #10323
    Anh TranAnh Tran
    Keymaster

    Hi Guy, I got it. I've just release version 1.5.2 of the Meta Box AIO with a fix for that. Please update!

    in reply to: Cannot receive the download link #10321
    Anh TranAnh Tran
    Keymaster

    Hi Steven,

    I've just resent the email with download link. Can you please check your inbox?

    in reply to: ✅Type post field + clone + 2k posts #10318
    Anh TranAnh Tran
    Keymaster

    Hi Jackky,

    There is a workaround on this issue, made by fexy in this topic. Please take a look.

    Update: I've improved the clone feature for post field. No more extra queries for clones. Please update to the latest version 4.15.0.

    in reply to: ✅Conditional Logic in Taxonomy "select_tree" #10306
    Anh TranAnh Tran
    Keymaster

    Hi Guy,

    The technical difficulty has stopped us from investigating time and effort on doing this feature :(. There's no solution for this yet.

    Anh TranAnh Tran
    Keymaster

    Hi,

    Each submitted post will have an unique post ID. You need to get that ID and set it in the post_id attribute of the mb_frontend_form shortcode. That will allows user to edit the info.

    There is a similar topic that you might be interested in.

    in reply to: Ability to unhook recommended plugins? #10304
    Anh TranAnh Tran
    Keymaster

    Hi Guy,

    Yes, you can do that. There's some snippets on the TGM Plugin Activation repo on Github.

    I think you can do that with the following code (untested):

    https://pastebin.com/N02tDwhz

    in reply to: Install "Required" plugins #10303
    Anh TranAnh Tran
    Keymaster

    Hi Guy,

    Do you mean in the Meta Box AIO?

    The plugin only requires the core Meta Box plugin. All other extensions are recommended. The text displays that correctly as shown in the following screenshot:

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

    And in the list of plugins, it clearly states which one is required/recommended:

    https://imgur.elightup.com/4MNZdwY.png

    By the way, this UI is created by TGM Plugin Activation Class and the customization is quite limited.

Viewing 15 posts - 2,041 through 2,055 (of 3,959 total)