Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 3,106 through 3,120 (of 3,702 total)
  • Author
    Posts
  • in reply to: Include for only posts with category isn't working #3800
    Anh TranAnh Tran
    Keymaster

    Just figured out the bug and released a fix. Please update the extension.

    in reply to: Problem between Metabox and MB User Meta #3799
    Anh TranAnh Tran
    Keymaster

    Hi @Flickweert,

    I've just updated the MB User Meta plugin as well. Please redownload it.

    Thanks
    Anh

    in reply to: Include for only posts with category isn't working #3796
    Anh TranAnh Tran
    Keymaster

    Hmm, it seems to work for me. Which version of the extension are you using?

    in reply to: Saving a clonable group with wysiwyg #3794
    Anh TranAnh Tran
    Keymaster

    Regarding the switching between text and visual tab, this is the behavior of WordPress. WP checks the user's favorite editing mode and saves that in the user meta. Next time the user comes back, he will see the previous mode enabled. In your case, I guess when you edit the post content in visual mode, WP saves this mode.

    Besides, if you need to enter raw HTML, you can just use textarea field. That avoids the switching issue like the editor.

    in reply to: WordPress 4.6 #3784
    Anh TranAnh Tran
    Keymaster

    I'm still looking at them. Until now, I haven't seen any API that can be used by the Meta Box yet.

    in reply to: Connecting Settings Page to Option Values #3778
    Anh TranAnh Tran
    Keymaster

    Hi, if you're using a simple cloned text field, then it has only values. In this case, I think it's best to use these values as both the value and label in the options of the check box list.

    You can use a snippet like this:

    $settings = get_option( 'option_id' );
    $values = isset( $settings['field_id'] ) ? $settings['field_id'] : array();
    $options = array();
    foreach ( $values as $value ) {
        $options[$value] = $value;
    }
    
    // In the field
    array(
        // Other options
        'options' => $options,
    )
    in reply to: WordPress 4.6 #3777
    Anh TranAnh Tran
    Keymaster

    Yes, it works with WordPress 4.6. The new version introduces WP_Post_Type class and the new API for meta data. All of these things affects the low layer of code and doesn't affect the development layer where Meta Box is. All the public API that is used by the plugin isn't affected. So, everything is ok 🙂

    in reply to: Google Maps API error: MissingKeyMapError #3769
    Anh TranAnh Tran
    Keymaster

    Can you update the Group extension to 1.1.3? I think I already fixed this.

    Thanks
    Anh

    in reply to: Problem between Metabox and MB User Meta #3765
    Anh TranAnh Tran
    Keymaster

    Thanks for reporting. Just figured out the bug and updated the Term Meta extension. Please update it.

    Thanks
    Anh

    Anh TranAnh Tran
    Keymaster

    Can you just try [rwmb_meta meta_key=“YOUR META KEY” taxonomy=“presenter”]? I see you missed meta_key.

    Anh TranAnh Tran
    Keymaster

    Hi,

    You can use custom_html field. It allows you add custom HTML code for a field via the std param. So you can enter the embeded code of the video for the field. It can’t be edited.

    in reply to: Google Maps API error: MissingKeyMapError #3762
    Anh TranAnh Tran
    Keymaster

    Hi Nick,

    The development version on Github has a fix for this. It adds a new param for map field api_key where you should enter your Google Maps API key. It actually doesn’t relate with the Group extension, so the error must be somewhere else. Can you please post the error here?

    Thanks
    Anh

    in reply to: Multi-Site Usage... #3751
    Anh TranAnh Tran
    Keymaster

    Thanks, I will check it.

    in reply to: Multi-Site Usage... #3747
    Anh TranAnh Tran
    Keymaster

    Hi,

    Do you see any error in the MB Builder screen?

    in reply to: How to retreive subfield value #3737
    Anh TranAnh Tran
    Keymaster

    Hi @Ivo,

    The 'Supplementary Information' is a child field of the parent group, so you have to access to its value through the parent value, like this:

    $group = rwmb_meta( 'saq_id' );
    $supplementary = isset( $group['supplementary'] ) ? $group['supplementary'] : array();
    foreach ( $supplementary as $single_supplementary ) {
        $value = isset( $single_supplementary['sub_text'] ) ? $single_supplementary['sub_text'] : '';
        echo $value;
    }

    Just think about group and sub-group as a hierarchy, everything will be clear 🙂

Viewing 15 posts - 3,106 through 3,120 (of 3,702 total)