Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,076 through 3,090 (of 3,702 total)
  • Author
    Posts
  • Anh TranAnh Tran
    Keymaster

    I was making the changes on the extension locally and forgot to update it. That's why it was working for me :(. I've just released a new version of the extension. Can you try it again?

    in reply to: Meta Box extension updates and MainWP #3930
    Anh TranAnh Tran
    Keymaster

    Hi @Flickweert,

    Thanks for the info. I think you're right about the MainWP cannot trigger the updates. Maybe the hook order is wrong. A screen recording is very helpful.

    Thanks
    Anh

    in reply to: Color custom field with default value #3929
    Anh TranAnh Tran
    Keymaster

    Please use 'std' => '#aabbcc' in your field. std is used to set the default value of the field.

    Anh TranAnh Tran
    Keymaster

    Yes, the latest version on Github has the fix for map and that's the version I'm using. Or am I misunderstanding something?

    Anh TranAnh Tran
    Keymaster

    That's quite strange to me. I'm using the latest version on Github and tested with the code above. Everything seems to be fine :(.

    Can you try the latest version of both plugins?

    in reply to: Nested groups problem #3909
    Anh TranAnh Tran
    Keymaster

    Ah, I got it. Sorry for the misunderstanding. I thought you want just to show the "Add new" button and don't show any input. I will check the "Delete" button now.

    in reply to: Checkbox Values #3903
    Anh TranAnh Tran
    Keymaster

    Hi,

    The meta value is saved in the database as a string. "True" or "false" is not as good as "0" or "1" when saving data. Besides, you still can use if ( get_post_meta( get_the_ID(), 'checkbox', true ) ) without any problem.

    in reply to: Nested groups conflict #3901
    Anh TranAnh Tran
    Keymaster

    I'm afraid we will keep the current logic, e.g. always keep at least 1 clone. There's no work around it at the moment.

    Best regards
    Anh

    Anh TranAnh Tran
    Keymaster

    Ah, I've just found the bug.

    Please set the tab attribute for meta box, not for fields. So:

    - Settings page define tabs
    - Meta box define tab (where it belongs to)

    Please check out the documentation for the correct code.

    Note: this is different from the Meta Box tabs extension, where:

    - Meta Box defines tabs
    - Fields define tab (where it belongs to)

    In combination of both Settings Page & Meta Box tabs, ideally you can create tabs for page and sub-tabs for fields ๐Ÿ˜‰ (Just the idea, I haven't tested it yet).

    Anh TranAnh Tran
    Keymaster

    I'm still checking :(. I will try to fix it asap.

    in reply to: MB for Yoast SEO setup #3877
    Anh TranAnh Tran
    Keymaster

    Hi Mark,

    That line is added to the field parameters when you use code to define meta boxes. Please follow this documentation to know how to do that. And in the array of field parameters, simply add 'add_to_wpseo_analysis' => true.

    PS: I see you purchased MB Builder extension. If you want to add the field to the Yoast SEO analysis, in the field configuration panel, click the Show Advanced link, then click Add Custom Attribute button, and enter the param to the inputs like in this screenshot.

    http://prntscr.com/c740wj

    in reply to: Return meta values from Edit Product Category #3876
    Anh TranAnh Tran
    Keymaster

    I think it's better to use get_queried_object_id() ๐Ÿ˜‰

    in reply to: Problems with WPML #3875
    Anh TranAnh Tran
    Keymaster

    Hi Andi,

    I've just checked that line and it's the sanitization value for group to remove empty values. Do you see the bug when creating a new post?

    in reply to: โœ…Data Validation - prepare data for $wpdb #3867
    Anh TranAnh Tran
    Keymaster

    Thanks for reporting. I will tell my developer to fix this.

    in reply to: Return meta values from Edit Product Category #3866
    Anh TranAnh Tran
    Keymaster

    Hi,

    This is term meta and you should use get_term_meta instead of get_post_meta:

    echo get_post_meta($term_id, 'dark_overlay', true);

Viewing 15 posts - 3,076 through 3,090 (of 3,702 total)