Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 616 through 630 (of 3,958 total)
  • Author
    Posts
  • in reply to: Select_Advanced Taxonomy #16843
    Anh TranAnh Tran
    Keymaster

    Have you tried adjusting the query args with tax query?

    https://developer.wordpress.org/reference/classes/wp_query/#taxonomy-parameters

    in reply to: Form not popuplated #16842
    Anh TranAnh Tran
    Keymaster

    If I put the shortcode in the post content, I see infos in custom fields, but for example if I add post_fields=”title”, the title is empty…

    Can you clarify this? I'm not quite clear.

    in reply to: ℹ️License + update question #16841
    Anh TranAnh Tran
    Keymaster

    Hi Hazmi,

    Thanks for asking this question.

    As the clients buy from theme authors, not from us, they should receive updates from the theme authors. Clients don't have the license key, and they can't have automatic updates.

    Theme authors are responsible to update the extensions as they bundle or integrate extensions within their themes.

    When someone find a bug or a security problem, they should contact the theme author and ask for updates immediately.

    This works similarly for other plugins (such as Revolution Slider or WP Backery PageBuilder) that the theme authors integrated inside their themes.

    Anh TranAnh Tran
    Keymaster

    Thanks! I've just fixed the MB Revision extension. AIO will come soon.

    in reply to: Form not popuplated #16803
    Anh TranAnh Tran
    Keymaster

    Yes, the post_id param tells the plugin to pull data from the post with ID = 1234. I made a video on how it works here: https://www.loom.com/share/68cf865579464b43a021a82d2cf08f18.

    How did you register the meta box? With code or via MB Builder?

    in reply to: Custom Blocks don't appear in admin with Gutenberg 6.8 #16802
    Anh TranAnh Tran
    Keymaster

    Hi Johann,

    I've just installed the 6.8 version of Gutenberg plugin and tested with a custom block. It seems to work fine to me. Please see this video: https://www.loom.com/share/03ce8376b1444044b08b2f3cc5026dab

    Can you share a screenshot/video and probably the code to debug the problem?

    in reply to: Enabling "Thumbnail" doesn't seem to work. #16801
    Anh TranAnh Tran
    Keymaster

    Hi Alex,

    I've just checked and see the "Thumbnail" option works well. Here is my video: https://www.loom.com/share/aba2cba857bd4b62bf88f62dc44dada2. I tested it with the block editor and classic editor.

    in reply to: refund request #16786
    Anh TranAnh Tran
    Keymaster

    I understand. I've just sent you the refund. If you need any pro feature, please purchase the extensions again.

    in reply to: Run Custom Function on Save Setting #16782
    Anh TranAnh Tran
    Keymaster

    Hi Manoj,

    Please use the hook mb_settings_page_load with priority > 10, like this:

    add_action( 'mb_settings_page_load', function() {
        // Run your code.
    }, 20 );
    in reply to: Thumbnail field in frontend form allows any file type #16781
    Anh TranAnh Tran
    Keymaster

    Please don't put any text inside the setCustomValidity function. The content will be output inside quotes via PHP, so it might break the code. Instead of that, please try to add a custom JS to the page (enqueuing a JS file that contains a setCustomValidity() function).

    in reply to: Readonly Date Input Still Shows Datepicker #16780
    Anh TranAnh Tran
    Keymaster

    I think there are 2 issues here:

    • Read-only attribute, and
    • Validation for user input

    From MDN

    A Boolean attribute which, if present, indicates that the user should not be able to edit the value of the input.
    The difference between disabled and readonly is that read-only controls can still function, whereas disabled controls are not submitted with the form and generally do not function as controls until they are enabled.

    So, it's better to prevent user to change value from a read-only date picker (the 1st issue).

    The validation issue is quite different and I think can be solved with @brandonjp's solution with pattern attribute.

    Another issue with readonly is that it will ignore the required attribute (ref in the MDN docs above), which sometimes is a problem.

    in reply to: refund request #16779
    Anh TranAnh Tran
    Keymaster

    Hi Remy, would you please give us some feedback on the features you need? Perhaps we can help (or better understand your needs).

    in reply to: Warning on metabox for relationship to multiple CPTs #16764
    Anh TranAnh Tran
    Keymaster

    Hi Aart Jan,

    Is there a technical/design reason not to support it this way?

    Yes, it's designed to work for single post type at the moment. Making it works for multiple post types at once is not supported at the moment, due to a lot of technical problems.

    in reply to: Not able to deselect default dropdown value #16763
    Anh TranAnh Tran
    Keymaster

    I've fixed it in MB Builder 3.2.2. The new version of AIO will come tomorrow.

    in reply to: Clear Field value with Reset Button #16760
    Anh TranAnh Tran
    Keymaster

    Hi Manoj,

    The reset functionality is not built-in. You can add the following code into your theme's functions.php file to add the reset button:

    add_action( 'mb_settings_page_submit_buttons', function() {
        submit_button( 'Reset', 'secondary', 'reset', false );
        ?>
        <script>
            jQuery( function( $ ) {
                $( '#reset' ).on( 'click', function( e ) {
                    e.preventDefault();
                    $( 'input[type="text"]' ).val( '' ); // Clear input values
                    $( 'input[type="radio"],input[type="checkbox"]' ).prop( 'checked', false ); // Uncheck radio, checkbox
                } );
            } );
        </script>
        <?php
    } );

    The JS code is very basic and is just an idea how it works for basic fields. You might need to adjust it to make it work for other fields.

Viewing 15 posts - 616 through 630 (of 3,958 total)