Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 2,746 through 2,760 (of 3,707 total)
  • Author
    Posts
  • in reply to: Translations suggestion #5901
    Anh TranAnh Tran
    Keymaster

    While it's a good idea and technically works, but when WordPress changes its text, all the translation are lost in our plugin. We need to update the plugin to catch up the changes in WordPress, which is a huge work.

    in reply to: Translations suggestion #5892
    Anh TranAnh Tran
    Keymaster

    Hi Jackky,

    Thank you very much for your contribution! Yes, I'm aware of the same text in WP core, but the WP.org guideline forces plugin authors like us to use our custom text domain. I will talk with them to see if we can utilize the core translation.

    in reply to: Add new column to metabox.io account page #5891
    Anh TranAnh Tran
    Keymaster

    Done :). Thanks for your suggestion.

    PS: The update date is not exactly the date in the changelog yet, I use modified date of the page.

    in reply to: Attach file to custom post type #5886
    Anh TranAnh Tran
    Keymaster

    Hi, we're working on that. This field is developed by our developer Manny and I've asked him to check it ๐Ÿ™‚

    in reply to: Last item of group not populating on import #5885
    Anh TranAnh Tran
    Keymaster

    Can you check if the numbers contain any "space" before or after the value? As the field is number, it requires a valid input. Any space before/after the value makes it a string, not number, and might cause the incorrect display.

    Anh TranAnh Tran
    Keymaster

    Hi Daniel,

    There's a documentation on displaying checkbox_list, radio, select value in the frontend.

    However, if you are looking for a way to show options that users can select, I'm afraid you need to write the code yourself. It looks similar to this:

    $options = array(
        'country-us' => 'United States',
        'country-uk' => 'United Kingdom'
    );
    
    echo '<select name="your_name">';
    foreach ( $options as $value => $label ) {
        echo '<option value="' . $value . '">' . $label . '</option>';
    }
    echo '</select>';
    in reply to: Last item of group not populating on import #5867
    Anh TranAnh Tran
    Keymaster

    Hi @asifsk,

    As we see here the data is saved correctly in JSON, that means the Group extension works well. The problem is how the plugin "CSV Import Suite" does the import. As the data has no problem, the bug happens only when importing, and the import plugin is the only one that does this part.

    Can you please ask WooCommerce team for help on this?

    in reply to: Attach file to custom post type #5862
    Anh TranAnh Tran
    Keymaster

    Thanks, I will check that ๐Ÿ™‚

    in reply to: "+Add More" Button Customization #5860
    Anh TranAnh Tran
    Keymaster

    Yes, the add_button is just added recently to help you change the button text quickly. Glad that you found it ๐Ÿ™‚

    in reply to: moving to the new style of calling taxonomy #5852
    Anh TranAnh Tran
    Keymaster

    Looks like your code is duplicated somehow, please try:

    add_action( 'rwmb_meta_boxes', 'course_register_meta_boxes' );
    function course_register_meta_boxes( $meta_boxes ){
        $meta_boxes[] = ...
        return $meta_boxes;
    }

    Also, please check if that code is loaded before init hook.

    in reply to: Label "for" attribute not updated after group clone #5851
    Anh TranAnh Tran
    Keymaster

    Thanks for reporting. I will fix it soon.

    Anh TranAnh Tran
    Keymaster

    If you want to insert values for checkbox_list, you should insert each value in 1 meta, like this:

    add_post_meta( $post_id, $key, 1, false );
    add_post_meta( $post_id, $key, 2, false );

    Note to set the last parameter false. It makes we can insert multiple values in multiple rows for the post.

    Anh TranAnh Tran
    Keymaster

    Hi patte,

    This is the bug in the Meta Box plugin as its code works only in the backend. I've just pushed a fix on Github. Will update the plugin soon.

    Anh TranAnh Tran
    Keymaster

    Unfortunately, we haven't get a solution for it now. The speed of JS is still a problem.

    in reply to: moving to the new style of calling taxonomy #5842
    Anh TranAnh Tran
    Keymaster

    Hi Matt,

    The problem is previously you might use this code to register meta boxes:

    add_action( 'admin_init', 'prefix_register' );
    function prefix_register() {
        // Some code here
    }

    Or something like this:

    if ( is_admin() ) {
        add_action( 'rwmb_meta_boxes', 'prefix_register' );
        function prefix_register( $meta_boxes ) {
            // Some code here
        }
    }

    It's required to switch to simpler syntax like this:

    add_action( 'rwmb_meta_boxes', 'prefix_register' );
    function prefix_register( $meta_boxes ) {
        // Some code here
    }

    in order to make the rwmb_meta work.

Viewing 15 posts - 2,746 through 2,760 (of 3,707 total)